From ee133761f7e589c2a674948f190263ce01537dbb Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Sat, 3 Jun 2017 11:48:07 +0200 Subject: [PATCH] fixed slaves not registering on windows --- client.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/client.js b/client.js index 6570e837..c8efcd25 100644 --- a/client.js +++ b/client.js @@ -66,9 +66,9 @@ function messageInterface(command, callback) { client.exec(command, callback); } catch (err) { console.log(err); - if(typeof callback == "function"){ - callback(err); - } + } + if(typeof callback == "function"){ + callback(); } } } @@ -305,7 +305,7 @@ function instanceManagement() { // load plugins and execute onLoad event let pluginDirectories = fileOps.getDirectoriesSync("./sharedPlugins/"); let plugins = []; - for(i=0; i