From 8411f36e066baf5e1b64a1d6c089278fd4cde9c3 Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Fri, 18 May 2018 10:18:00 -0500 Subject: [PATCH] trying this Signed-off-by: VoR0220 --- lib/dashboard/console.js | 7 ++----- lib/modules/profiler/index.js | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/dashboard/console.js b/lib/dashboard/console.js index a88f9e941..89fff0a02 100644 --- a/lib/dashboard/console.js +++ b/lib/dashboard/console.js @@ -38,11 +38,8 @@ class Console { var pluginCmds = this.plugins.getPluginsProperty('console', 'console'); for (let pluginCmd of pluginCmds) { let pluginOutput = pluginCmd.call(this, cmd, {}); - if (pluginOutput !== false && pluginOutput !== 'false' && pluginOutput !== undefined) - return callback(pluginOutput); - if (pluginOutput === undefined) { - return callback(""); - } + if (pluginOutput !== false && pluginOutput !== 'false' && pluginOutput !== undefined) return callback(pluginOutput); + //if (pluginOutput === undefined) return callback(""); } let output = this.processEmbarkCmd(cmd); diff --git a/lib/modules/profiler/index.js b/lib/modules/profiler/index.js index 7b408d45c..a1ca78e57 100644 --- a/lib/modules/profiler/index.js +++ b/lib/modules/profiler/index.js @@ -48,7 +48,6 @@ class Profiler { this.profile(contractName, contract); }); } - return; }); } }