mirror of https://github.com/embarklabs/embark.git
code lint fix
This commit is contained in:
parent
414c875082
commit
094334fee7
|
@ -38,7 +38,7 @@ class Console {
|
||||||
'versions in use:',
|
'versions in use:',
|
||||||
'solc: ' + solcVersionInConfig,
|
'solc: ' + solcVersionInConfig,
|
||||||
'web3.js: ' + web3VersionInConfig
|
'web3.js: ' + web3VersionInConfig
|
||||||
]
|
];
|
||||||
|
|
||||||
return text.join('\n');
|
return text.join('\n');
|
||||||
} else if (cmd === 'quit') {
|
} else if (cmd === 'quit') {
|
||||||
|
@ -48,9 +48,9 @@ class Console {
|
||||||
}
|
}
|
||||||
|
|
||||||
executeCmd(cmd, callback) {
|
executeCmd(cmd, callback) {
|
||||||
var plugin, pluginOutput;
|
let plugin, pluginOutput;
|
||||||
var plugins = this.plugins.getPluginsFor('console');
|
let plugins = this.plugins.getPluginsFor('console');
|
||||||
for (var i = 0; i < plugins.length; i++) {
|
for (let i = 0; i < plugins.length; i++) {
|
||||||
plugin = plugins[i];
|
plugin = plugins[i];
|
||||||
pluginOutput = plugin.runCommands(cmd, {});
|
pluginOutput = plugin.runCommands(cmd, {});
|
||||||
if (pluginOutput !== false && pluginOutput !== 'false') return callback(pluginOutput);
|
if (pluginOutput !== false && pluginOutput !== 'false') return callback(pluginOutput);
|
||||||
|
|
Loading…
Reference in New Issue