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:
parent
48c62836f2
commit
d0b97fb997
3 changed files with 12 additions and 36 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue