From 34cccd0d049f87cbe1f44621a2dcc63266acf9e0 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Fri, 14 Sep 2018 04:52:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20error=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cdn/downloadUrlContents.ts | 1 - src/ssn/patcher-installer/launch.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cdn/downloadUrlContents.ts b/src/cdn/downloadUrlContents.ts index adc0515..efe910a 100644 --- a/src/cdn/downloadUrlContents.ts +++ b/src/cdn/downloadUrlContents.ts @@ -16,7 +16,6 @@ export default function downloadUrlContents({ host, path, size }: {host: string, const folderName = nodePath.dirname(tempFileName); createDirRecursively(folderName).then(() => { //Check if file already exists locally - console.log('Checking local cache...', tempFileName, size); checkLocalCache(tempFileName, size).then((cacheStatus) => { if (cacheStatus) { return resolve(tempFileName); diff --git a/src/ssn/patcher-installer/launch.ts b/src/ssn/patcher-installer/launch.ts index 56177dc..a509db6 100644 --- a/src/ssn/patcher-installer/launch.ts +++ b/src/ssn/patcher-installer/launch.ts @@ -32,7 +32,7 @@ export default function launchProcess( spawnedProcess.stderr.setEncoding('utf8'); spawnedProcess.stderr.on('data', (error) => { - reject(`Error in process:\n> ${processPath} ${parameters.join('v')}\nerror`); + reject(`Error in process:\n> ${processPath} ${parameters.join(' ')}\n${error}`); }); }); }