diff --git a/lib/dashboard/console.js b/lib/dashboard/console.js index 7bdae32b..edd3feff 100644 --- a/lib/dashboard/console.js +++ b/lib/dashboard/console.js @@ -38,7 +38,7 @@ 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') return callback(pluginOutput); + if (pluginOutput !== false && pluginOutput !== 'false' && pluginOutput !== undefined) return callback(pluginOutput); } let output = this.processEmbarkCmd(cmd); diff --git a/lib/modules/profiler/index.js b/lib/modules/profiler/index.js index 763165c9..e78c2dcf 100644 --- a/lib/modules/profiler/index.js +++ b/lib/modules/profiler/index.js @@ -47,6 +47,7 @@ class Profiler { self.logger.info("-- profile for " + contractName); this.profile(contractName, contract); }); + return ""; } return false; });