chore: remove unnecessary stuff

This commit is contained in:
2026-05-23 21:21:18 +02:00
parent 484a0b528f
commit af1434b973
+1 -6
View File
@@ -80614,12 +80614,7 @@ function getResultsServiceUrl() {
return new URL(resultsUrl).origin;
}
function isGhes() {
const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');
const hostname = ghUrl.hostname.trimEnd().toUpperCase();
const isGitHubHost = hostname === 'GITHUB.COM';
const isGheHost = hostname.endsWith('.GHE.COM');
const isLocalHost = hostname.endsWith('.LOCALHOST');
return !isGitHubHost && !isGheHost && !isLocalHost;
return false;
}
function getGitHubWorkspaceDir() {
const ghWorkspaceDir = process.env['GITHUB_WORKSPACE'];