Compare commits

..

2 Commits

Author SHA1 Message Date
Marco Ippolito
9feef93469
Merge 40509ec001 into 40337cb8f7 2025-03-27 13:52:37 +00:00
Marco Ippolito
40509ec001
chore: change fallback message with mirrors 2025-03-27 14:52:29 +01:00
2 changed files with 7 additions and 3 deletions

4
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, _b;
var _a, _b, _c;
let manifest;
let nodeJsVersions;
const osArch = this.translateArchToDistUrl(this.nodeInfo.arch);
@ -97577,7 +97577,7 @@ class OfficialBuilds extends base_distribution_1.default {
core.info(err.message);
}
core.debug((_b = err.stack) !== null && _b !== void 0 ? _b : 'empty stack');
core.info('Falling back to download directly from Node');
core.info(`Falling back to download directly from ${(_c = this.nodeInfo.mirror) !== null && _c !== void 0 ? _c : 'Node'}`);
}
if (!toolPath) {
toolPath = yield this.downloadDirectlyFromNode();

View File

@ -114,7 +114,11 @@ export default class OfficialBuilds extends BaseDistribution {
core.info((err as Error).message);
}
core.debug((err as Error).stack ?? 'empty stack');
core.info('Falling back to download directly from Node');
core.info(
`Falling back to download directly from ${
this.nodeInfo.mirror ?? 'Node'
}`
);
}
if (!toolPath) {