From 083961fc21f3b0f18a7994e393412837999626df Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 1 Jun 2018 19:14:54 -0400 Subject: [PATCH] remove unneeded assignments --- lib/core/engine.js | 1 - lib/dashboard/dashboard.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/core/engine.js b/lib/core/engine.js index 5224a50a9..8b463ed4f 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -32,7 +32,6 @@ class Engine { } init(_options) { - let self = this; let options = _options || {}; this.events = options.events || this.events || new Events(); this.logger = options.logger || new Logger({logLevel: options.logLevel || this.logLevel || 'debug', events: this.events, logFile: this.logFile}); diff --git a/lib/dashboard/dashboard.js b/lib/dashboard/dashboard.js index 641c672be..bc8c0c2a3 100644 --- a/lib/dashboard/dashboard.js +++ b/lib/dashboard/dashboard.js @@ -6,7 +6,6 @@ let Console = require('./console.js'); class Dashboard { constructor(options) { - const self = this; this.logger = options.logger; this.events = options.events; this.plugins = options.plugins;