1 Commits

Author SHA1 Message Date
ChristopherHX
81f940d004 disable ghes no support check
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
2024-01-22 11:42:57 +01:00

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() {