mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-03 19:04:10 +00:00
commit
32a2b7c518
@ -38,7 +38,7 @@ class Console {
|
||||
'versions in use:',
|
||||
'solc: ' + solcVersionInConfig,
|
||||
'web3.js: ' + web3VersionInConfig
|
||||
]
|
||||
];
|
||||
|
||||
return text.join('\n');
|
||||
} else if (cmd === 'quit') {
|
||||
@ -48,9 +48,9 @@ class Console {
|
||||
}
|
||||
|
||||
executeCmd(cmd, callback) {
|
||||
var plugin, pluginOutput;
|
||||
var plugins = this.plugins.getPluginsFor('console');
|
||||
for (var i = 0; i < plugins.length; i++) {
|
||||
let plugin, pluginOutput;
|
||||
let plugins = this.plugins.getPluginsFor('console');
|
||||
for (let i = 0; i < plugins.length; i++) {
|
||||
plugin = plugins[i];
|
||||
pluginOutput = plugin.runCommands(cmd, {});
|
||||
if (pluginOutput !== false && pluginOutput !== 'false') return callback(pluginOutput);
|
||||
|
Loading…
x
Reference in New Issue
Block a user