mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-03-01 04:33:24 +00:00
error
This commit is contained in:
parent
cc7fac4679
commit
35af15253e
2 changed files with 2 additions and 0 deletions
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
|
@ -100207,6 +100207,7 @@ class BaseDistribution {
|
|||
this.osPlat == 'win32') {
|
||||
return yield this.acquireWindowsNodeFromFallbackLocation(info.resolvedVersion, info.arch);
|
||||
}
|
||||
core.error(`Download failed from ${info.downloadUrl}. Please check the URl and try again.`);
|
||||
throw err;
|
||||
}
|
||||
const toolPath = yield this.extractArchive(downloadPath, info, true);
|
||||
|
|
|
@ -172,6 +172,7 @@ export default abstract class BaseDistribution {
|
|||
info.arch
|
||||
);
|
||||
}
|
||||
core.error(`Download failed from ${info.downloadUrl}. Please check the URl and try again.`);
|
||||
|
||||
throw err;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue