From 73823b4152304e2a455c12209e0e739878a98a27 Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Fri, 8 Oct 2021 08:17:00 -0500 Subject: [PATCH] final adjustments --- Platform/Client/httpInterface.js | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 7009e5267..6abef1e3f 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -906,26 +906,12 @@ exports.newHttpInterface = function newHttpInterface() { let dir = process.cwd() let command = "node setup"; - let test1 = execSync( command, + let stdout = execSync( command, { cwd: dir - }, - function ( error, stdout ){ - if (error) { - console.log(''); - console.log("There was an error updating dependencies for this branch: "); - console.log(''); - console.log( error ); - return; - } - console.log('this is error code', error.code) - console.log(''); - console.log( stdout ); - let test = "success" - return test - }); - let text = test1.toString() - console.log("we finished!", text) + }).toString(); + + console.log("Node Setup has completed with the following result:", stdout) }