mirror of
https://github.com/actions/setup-node.git
synced 2024-11-10 05:31:07 +07:00
dbg
This commit is contained in:
parent
6a1b66a606
commit
8e221092f3
@ -74,6 +74,11 @@ export async function getNode(
|
||||
//
|
||||
// Extract
|
||||
//
|
||||
console.log(`Extracting ${downloadPath}`)
|
||||
if (!fs.existsSync(downloadPath)) {
|
||||
throw new Error('File not downloaded correctly');
|
||||
}
|
||||
|
||||
let extPath: string;
|
||||
if (osPlat == 'win32') {
|
||||
let _7zPath = path.join(__dirname, '..', 'externals', '7zr.exe');
|
||||
|
Loading…
Reference in New Issue
Block a user