mirror of
https://github.com/actions/setup-node.git
synced 2026-05-17 20:13:05 +08:00
check failures fix
This commit is contained in:
@@ -22,13 +22,13 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
);
|
||||
}
|
||||
let downloadPath = '';
|
||||
let toolPath = '';
|
||||
|
||||
try {
|
||||
core.info(`Attempting to download using mirror URL...`);
|
||||
downloadPath = await this.downloadFromMirrorURL(); // Attempt to download from the mirror
|
||||
core.info('downloadPath from downloadFromMirrorURL() ' + downloadPath);
|
||||
if (downloadPath) {
|
||||
toolPath = downloadPath;
|
||||
const toolPath = downloadPath;
|
||||
}
|
||||
} catch (err) {
|
||||
core.info((err as Error).message);
|
||||
|
||||
Reference in New Issue
Block a user