Rename GHE_DOTCOM to GHEC_DR

This more closely reflects the published naming https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency
This commit is contained in:
Henry Mercer
2025-12-10 17:37:28 +00:00
parent 7a55ffeaf1
commit 1fc7d3785d
18 changed files with 39 additions and 39 deletions

View File

@@ -125,7 +125,7 @@ export async function getGitHubVersionFromApi(
}
if (response.headers[GITHUB_ENTERPRISE_VERSION_HEADER] === "ghe.com") {
return { type: GitHubVariant.GHE_DOTCOM };
return { type: GitHubVariant.GHEC_DR };
}
const version = response.headers[GITHUB_ENTERPRISE_VERSION_HEADER] as string;