trying this

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
VoR0220 2018-05-18 10:18:00 -05:00
parent 28fa906bbf
commit 8411f36e06
2 changed files with 2 additions and 6 deletions

View File

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

View File

@ -48,7 +48,6 @@ class Profiler {
this.profile(contractName, contract);
});
}
return;
});
}
}