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; }); } }