mirror of
https://github.com/ChristopherHX/gitea-download-artifact.git
synced 2025-06-01 18:47:01 +08:00
disable ghes no support check
This commit is contained in:
parent
bb3fa7fd35
commit
75635f32b4
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -2698,8 +2698,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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user