Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/url-helper.ts
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2020-05-07 12:11:11 -0400
committerGitHub <noreply@github.com>2020-05-07 12:11:11 -0400
commite55727d418e99c52db29fa5e822f0eb64ce9b1ca (patch)
tree3fcc55e6e8d3277fef16ff218f15e66d04bbda57 /src/url-helper.ts
parent180495b609267603108b2c62f0b5f40e7d1aba40 (diff)
consume new @actions/github for GHES support (#236)
Diffstat (limited to 'src/url-helper.ts')
-rw-r--r--src/url-helper.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/url-helper.ts b/src/url-helper.ts
index 3e0e142..31848c7 100644
--- a/src/url-helper.ts
+++ b/src/url-helper.ts
@@ -2,10 +2,6 @@ import * as assert from 'assert'
import {IGitSourceSettings} from './git-source-settings'
import {URL} from 'url'
-export function getApiUrl(): string {
- return process.env['GITHUB_API_URL'] || 'https://api.github.com'
-}
-
export function getFetchUrl(settings: IGitSourceSettings): string {
assert.ok(
settings.repositoryOwner,