mirror of
https://github.com/actions/setup-node.git
synced 2025-06-29 22:23:47 +00:00
tests
This commit is contained in:
parent
19df1001b0
commit
f40797d717
7 changed files with 295 additions and 78 deletions
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue