From 1af2d15d2d828fd28b473c1eafa4d309e00df3a9 Mon Sep 17 00:00:00 2001 From: Alex White Date: Fri, 16 Sep 2022 20:32:26 +0100 Subject: [PATCH] normalised error output in startup scripts --- Launch-Scripts/runSetup.js | 4 ++-- Launch-Scripts/runSetupPlugins.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Launch-Scripts/runSetup.js b/Launch-Scripts/runSetup.js index c4e517d7de..bbeb4ee272 100644 --- a/Launch-Scripts/runSetup.js +++ b/Launch-Scripts/runSetup.js @@ -150,7 +150,7 @@ const runSetup = (tfjs=false) => { (error, stdout) => { if (error) { console.log('') - console.log('There was an error installing some dependencies error: ') + console.log('There was an error installing some dependencies: ') console.log('') console.log(error) process.exit(1) @@ -174,8 +174,8 @@ const runSetup = (tfjs=false) => { } catch (e) { console.log('') console.log('Event error: ') - console.log(e) console.log('') + console.log(e) process.exit(1) } }) diff --git a/Launch-Scripts/runSetupPlugins.js b/Launch-Scripts/runSetupPlugins.js index f3af59a0c6..23c7eb4bb9 100644 --- a/Launch-Scripts/runSetupPlugins.js +++ b/Launch-Scripts/runSetupPlugins.js @@ -108,7 +108,7 @@ const cloneTheRepoPromise = async (resolve) => { resolve() }) .catch((err) => { - console.log('[ERROR] Setup of repo ' + global.env.PROJECT_PLUGIN_MAP[propertyName].repo + ' failed. You will need to set the git remote manually.') + console.log('[ERROR] Setup of repo ' + global.env.PROJECT_PLUGIN_MAP[propertyName].repo + ' failed. You will need to set the git remote manually. ') console.log('') console.log(err) resolve()