Revert "T dedah/cache size" (#1042)

This commit is contained in:
Deepak Dahiya
2022-04-01 02:10:08 +05:30
committed by GitHub
parent 4b12bd3649
commit 03eca1b0c7
7 changed files with 639 additions and 95 deletions
-7
View File
@@ -123,10 +123,3 @@ export function assertDefined<T>(name: string, value?: T): T {
return value
}
export function isGhes(): boolean {
const ghUrl = new URL(
process.env["GITHUB_SERVER_URL"] || "https://github.com"
);
return ghUrl.hostname.toUpperCase() !== "GITHUB.COM";
}