Compare commits

..

2 Commits

Author SHA1 Message Date
Marco Ippolito
29b24b6a14 Merge 3859bef1b6 into 40337cb8f7 2025-03-31 14:51:56 +00:00
Marco Ippolito
3859bef1b6 chore: change fallback message with mirrors 2025-03-31 16:51:47 +02:00
2 changed files with 4 additions and 4 deletions

6
dist/setup/index.js vendored
View File

@@ -97519,7 +97519,7 @@ class OfficialBuilds extends base_distribution_1.default {
}
setupNodeJs() {
return __awaiter(this, void 0, void 0, function* () {
var _a;
var _a, _b;
let manifest;
let nodeJsVersions;
const osArch = this.translateArchToDistUrl(this.nodeInfo.arch);
@@ -97564,7 +97564,7 @@ class OfficialBuilds extends base_distribution_1.default {
}
}
else {
core.info(`Not found in manifest. Falling back to download directly from ${this.nodeInfo.mirror || 'Node'}`);
core.info(`Not found in manifest. Falling back to download directly from ${(_a = this.nodeInfo.mirror) !== null && _a !== void 0 ? _a : 'Node'}`);
}
}
catch (err) {
@@ -97576,7 +97576,7 @@ class OfficialBuilds extends base_distribution_1.default {
else {
core.info(err.message);
}
core.debug((_a = err.stack) !== null && _a !== void 0 ? _a : 'empty stack');
core.debug((_b = err.stack) !== null && _b !== void 0 ? _b : 'empty stack');
core.info('Falling back to download directly from Node');
}
if (!toolPath) {

View File

@@ -97,7 +97,7 @@ export default class OfficialBuilds extends BaseDistribution {
} else {
core.info(
`Not found in manifest. Falling back to download directly from ${
this.nodeInfo.mirror || 'Node'
this.nodeInfo.mirror ?? 'Node'
}`
);
}