diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2020-05-07 12:11:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-07 12:11:11 -0400 |
| commit | e55727d418e99c52db29fa5e822f0eb64ce9b1ca (patch) | |
| tree | 3fcc55e6e8d3277fef16ff218f15e66d04bbda57 /src/url-helper.ts | |
| parent | 180495b609267603108b2c62f0b5f40e7d1aba40 (diff) | |
consume new @actions/github for GHES support (#236)
Diffstat (limited to 'src/url-helper.ts')
| -rw-r--r-- | src/url-helper.ts | 4 |
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, |
