mirror of
https://github.com/actions/setup-node.git
synced 2025-06-28 21:53:48 +00:00
check failures fix
This commit is contained in:
parent
1b0ef2d227
commit
07b84a2324
6 changed files with 4 additions and 8 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -100529,13 +100529,12 @@ class OfficialBuilds extends base_distribution_1.default {
|
|||
throw new Error('Mirror URL is empty. Please provide a valid mirror URL.');
|
||||
}
|
||||
let downloadPath = '';
|
||||
let toolPath = '';
|
||||
try {
|
||||
core.info(`Attempting to download using mirror URL...`);
|
||||
downloadPath = yield this.downloadFromMirrorURL(); // Attempt to download from the mirror
|
||||
core.info('downloadPath from downloadFromMirrorURL() ' + downloadPath);
|
||||
if (downloadPath) {
|
||||
toolPath = downloadPath;
|
||||
const toolPath = downloadPath;
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue