1 Commits
v7 ... v4

Author SHA1 Message Date
ChristopherHX 81f940d004 disable ghes no support check 2024-01-22 11:42:57 +01:00
+1 -2
View File
@@ -3023,8 +3023,7 @@ function getResultsServiceUrl() {
} }
exports.getResultsServiceUrl = getResultsServiceUrl; exports.getResultsServiceUrl = getResultsServiceUrl;
function isGhes() { function isGhes() {
const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); return false;
return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';
} }
exports.isGhes = isGhes; exports.isGhes = isGhes;
function getGitHubWorkspaceDir() { function getGitHubWorkspaceDir() {