Remove code specific to GitHub AE
This commit is contained in:
parent
e2d39049b6
commit
415881f4cf
23 changed files with 159 additions and 458 deletions
3
lib/api-client.js
generated
3
lib/api-client.js
generated
|
|
@ -78,9 +78,6 @@ async function getGitHubVersionFromApi(apiClient, apiDetails) {
|
|||
if (response.headers[GITHUB_ENTERPRISE_VERSION_HEADER] === undefined) {
|
||||
return { type: util_1.GitHubVariant.DOTCOM };
|
||||
}
|
||||
if (response.headers[GITHUB_ENTERPRISE_VERSION_HEADER] === "GitHub AE") {
|
||||
return { type: util_1.GitHubVariant.GHAE };
|
||||
}
|
||||
if (response.headers[GITHUB_ENTERPRISE_VERSION_HEADER] === "ghe.com") {
|
||||
return { type: util_1.GitHubVariant.GHE_DOTCOM };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue