From 3fb02befeac99ddabdb081454f03e51e6dd256d3 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 29 Dec 2017 18:33:11 -0500 Subject: [PATCH] comply with linter --- lib/dashboard/console.js | 2 -- lib/modules/webserver/index.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/dashboard/console.js b/lib/dashboard/console.js index f6cbcf1b..22b3fe78 100644 --- a/lib/dashboard/console.js +++ b/lib/dashboard/console.js @@ -48,8 +48,6 @@ class Console { } executeCmd(cmd, callback) { - let plugin, pluginOutput; - var pluginCmds = this.plugins.getPluginsProperty('console', 'console'); for (let pluginCmd of pluginCmds) { let pluginOutput = pluginCmd.call(this, cmd, {}); diff --git a/lib/modules/webserver/index.js b/lib/modules/webserver/index.js index 6ac4a958..0e52723b 100644 --- a/lib/modules/webserver/index.js +++ b/lib/modules/webserver/index.js @@ -50,7 +50,7 @@ class WebServer { registerConsoleCommands() { const self = this; - self.embark.registerConsoleCommand((cmd, options) => { + self.embark.registerConsoleCommand((cmd, _options) => { if (cmd === 'webserver start') { self.events.request("start-webserver"); return " ";