From 77c00b8a3cc27b35fcb639441b1060a6a3c0c82b Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Wed, 19 May 2021 19:58:47 -0500 Subject: [PATCH] Finished Initial Setup Script --- setup.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/setup.js b/setup.js index ccca81c45..b5a5eeb49 100644 --- a/setup.js +++ b/setup.js @@ -20,7 +20,6 @@ console.log(''); let dir; -let ifError; for (dir in nodeModulesDirs) { // Loop through directories and run node ci in a child process shell. let command = "echo Results of install at "+ nodeModulesDirs[dir] + " & npm ci"; @@ -34,21 +33,9 @@ for (dir in nodeModulesDirs) { console.log("There was an error installing some dependencies error: "); console.log(''); console.log( error ); - ifError = true; return; } console.log(''); console.log( stdout ); }); - - // Print closing message - if (dir == nodeModulesDirs.length) { - if ( ifError = true ) { - console.log(''); - console.log("Installation of node dependencies finished with errors. See error messages above.") - } else { - console.log(''); - console.log("Node dependencies installed successfully!") - } - } }; \ No newline at end of file