comply with linter
This commit is contained in:
parent
92de2904f1
commit
3fb02befea
|
@ -48,8 +48,6 @@ class Console {
|
||||||
}
|
}
|
||||||
|
|
||||||
executeCmd(cmd, callback) {
|
executeCmd(cmd, callback) {
|
||||||
let plugin, pluginOutput;
|
|
||||||
|
|
||||||
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, {});
|
||||||
|
|
|
@ -50,7 +50,7 @@ class WebServer {
|
||||||
|
|
||||||
registerConsoleCommands() {
|
registerConsoleCommands() {
|
||||||
const self = this;
|
const self = this;
|
||||||
self.embark.registerConsoleCommand((cmd, options) => {
|
self.embark.registerConsoleCommand((cmd, _options) => {
|
||||||
if (cmd === 'webserver start') {
|
if (cmd === 'webserver start') {
|
||||||
self.events.request("start-webserver");
|
self.events.request("start-webserver");
|
||||||
return " ";
|
return " ";
|
||||||
|
|
Loading…
Reference in New Issue