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) {
|
acquireWindowsNodeFromFallbackLocation(version_1) {
|
||||||
return __awaiter(this, arguments, void 0, function* (version, arch = os_1.default.arch()) {
|
return __awaiter(this, arguments, void 0, function* (version, arch = os_1.default.arch()) {
|
||||||
const initialUrl = this.getDistributionUrl();
|
const initialUrl = this.getDistributionUrl();
|
||||||
|
core.info('url: ' + initialUrl);
|
||||||
const osArch = this.translateArchToDistUrl(arch);
|
const osArch = this.translateArchToDistUrl(arch);
|
||||||
// Create temporary folder to download to
|
// Create temporary folder to download to
|
||||||
const tempDownloadFolder = `temp_${(0, uuid_1.v4)()}`;
|
const tempDownloadFolder = `temp_${(0, uuid_1.v4)()}`;
|
||||||
|
@ -196,6 +196,7 @@ export default abstract class BaseDistribution {
|
|||||||
arch: string = os.arch()
|
arch: string = os.arch()
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
const initialUrl = this.getDistributionUrl();
|
const initialUrl = this.getDistributionUrl();
|
||||||
|
core.info('url: ' + initialUrl);
|
||||||
const osArch: string = this.translateArchToDistUrl(arch);
|
const osArch: string = this.translateArchToDistUrl(arch);
|
||||||
|
|
||||||
// Create temporary folder to download to
|
// Create temporary folder to download to
|
||||||
|
Loading…
Reference in New Issue
Block a user