disable ghes no support check

This commit is contained in:
ChristopherHX 2024-01-22 11:42:57 +01:00 committed by GitHub
parent 694cdabd8b
commit 81f940d004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
dist/index.js vendored
View File

@ -3023,8 +3023,7 @@ function getResultsServiceUrl() {
}
exports.getResultsServiceUrl = getResultsServiceUrl;
function isGhes() {
const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');
return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';
return false;
}
exports.isGhes = isGhes;
function getGitHubWorkspaceDir() {