1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-node synced 2025-06-22 11:18:00 +02:00

Clean up changes

This commit is contained in:
Danny McCormick 2019-06-04 16:06:21 -04:00
parent 48c62836f2
commit d0b97fb997
3 changed files with 12 additions and 36 deletions

View file

@ -143,9 +143,6 @@ function acquireNode(version) {
if (err['httpStatusCode'] && err['httpStatusCode'] === '404') {
return yield acquireNodeFromFallbackLocation(version);
}
else {
console.log('Message', err.message.statusCode);
}
throw err;
}
//
@ -153,6 +150,7 @@ function acquireNode(version) {
//
let extPath;
if (osPlat == 'win32') {
let _7zPath = path.join(__dirname, '7zr.exe');
extPath = yield tc.extract7z(downloadPath);
}
else {