Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kd_clients/core/Utils.ts>Utils.buildPullRequestUrl

Various HTTP clients for miscellaneous use.
Latest
method Utils.buildPullRequestUrl
import { Utils } from "https://deno.land/x/kd_clients@v1.0.0-preview.13/core/Utils.ts";

Builds a URL to a pull request that matches the given prNumber in a repository with a name that matches the given repoName and is owned by the given ownerName.

Parameters

ownerName: string

The owner of the repository.

repoName: string

The name of the repository.

prNumber: number

The pull request number.

Returns

string

The URL to the issue.