From e55727d418e99c52db29fa5e822f0eb64ce9b1ca Mon Sep 17 00:00:00 2001 From: eric sciple Date: Thu, 7 May 2020 12:11:11 -0400 Subject: consume new @actions/github for GHES support (#236) --- src/url-helper.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/url-helper.ts') 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, -- cgit v1.2.3