mirror of https://github.com/embarklabs/embark.git
trying this
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
28fa906bbf
commit
8411f36e06
|
@ -38,11 +38,8 @@ class Console {
|
||||||
var pluginCmds = this.plugins.getPluginsProperty('console', 'console');
|
var pluginCmds = this.plugins.getPluginsProperty('console', 'console');
|
||||||
for (let pluginCmd of pluginCmds) {
|
for (let pluginCmd of pluginCmds) {
|
||||||
let pluginOutput = pluginCmd.call(this, cmd, {});
|
let pluginOutput = pluginCmd.call(this, cmd, {});
|
||||||
if (pluginOutput !== false && pluginOutput !== 'false' && pluginOutput !== undefined)
|
if (pluginOutput !== false && pluginOutput !== 'false' && pluginOutput !== undefined) return callback(pluginOutput);
|
||||||
return callback(pluginOutput);
|
//if (pluginOutput === undefined) return callback("");
|
||||||
if (pluginOutput === undefined) {
|
|
||||||
return callback("");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let output = this.processEmbarkCmd(cmd);
|
let output = this.processEmbarkCmd(cmd);
|
||||||
|
|
|
@ -48,7 +48,6 @@ class Profiler {
|
||||||
this.profile(contractName, contract);
|
this.profile(contractName, contract);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue