comply with linter

This commit is contained in:
Iuri Matias 2017-12-29 18:33:11 -05:00
parent 92de2904f1
commit 3fb02befea
2 changed files with 1 additions and 3 deletions

View File

@ -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, {});

View File

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