mirror of
https://github.com/actions/setup-node.git
synced 2025-09-17 03:43:59 +08:00
Clean up changes
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user