From 8e221092f3abcab8aeac287db0ffd921fb61ff7c Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Sun, 3 May 2020 18:34:17 -0400 Subject: [PATCH] dbg --- src/installer.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/installer.ts b/src/installer.ts index b1cacead..3952b87e 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -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');