Compare commits
1 Commits
v6-experim
...
v4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81f940d004 |
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user