This commit is contained in:
Aparna Jyothi 2025-01-31 17:52:23 +05:30
parent 19df1001b0
commit f40797d717
7 changed files with 295 additions and 78 deletions

5
dist/setup/index.js vendored
View file

@ -100651,10 +100651,7 @@ class OfficialBuilds extends base_distribution_1.default {
}
getDistributionMirrorUrl() {
const mirrorURL = this.nodeInfo.mirrorURL;
if (!mirrorURL) {
throw new Error('Mirror URL is undefined');
}
return mirrorURL;
return mirrorURL !== null && mirrorURL !== void 0 ? mirrorURL : '';
}
getManifest() {
core.debug('Getting manifest from actions/node-versions@main');