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