mirror of
https://github.com/actions/setup-node.git
synced 2025-01-31 12:27:12 +07:00
error handling
This commit is contained in:
parent
5809c5dc63
commit
01498de30c
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
@ -100225,6 +100225,7 @@ class BaseDistribution {
|
||||
acquireWindowsNodeFromFallbackLocation(version_1) {
|
||||
return __awaiter(this, arguments, void 0, function* (version, arch = os_1.default.arch()) {
|
||||
const initialUrl = this.getDistributionUrl();
|
||||
core.info('url: ' + initialUrl);
|
||||
const osArch = this.translateArchToDistUrl(arch);
|
||||
// Create temporary folder to download to
|
||||
const tempDownloadFolder = `temp_${(0, uuid_1.v4)()}`;
|
||||
|
@ -196,7 +196,8 @@ export default abstract class BaseDistribution {
|
||||
arch: string = os.arch()
|
||||
): Promise<string> {
|
||||
const initialUrl = this.getDistributionUrl();
|
||||
const osArch: string = this.translateArchToDistUrl(arch);
|
||||
core.info('url: ' + initialUrl);
|
||||
const osArch: string = this.translateArchToDistUrl(arch);
|
||||
|
||||
// Create temporary folder to download to
|
||||
const tempDownloadFolder = `temp_${uuidv4()}`;
|
||||
|
Loading…
Reference in New Issue
Block a user