From ab53bfba0c9487440c93df554dd2bdf3560cf07f Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Tue, 8 May 2018 10:41:38 -0500 Subject: [PATCH] fix linting errors Signed-off-by: VoR0220 --- lib/core/engine.js | 1 - lib/modules/profiler/index.js | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/core/engine.js b/lib/core/engine.js index 043141ee..fe11a6fb 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -190,7 +190,6 @@ class Engine { this.registerModule('profiler', { events: this.events, logger: this.logger, - plugins: this.plugins, }); this.contractsManager = new ContractsManager({ diff --git a/lib/modules/profiler/index.js b/lib/modules/profiler/index.js index 5036e836..be33c67d 100644 --- a/lib/modules/profiler/index.js +++ b/lib/modules/profiler/index.js @@ -1,7 +1,7 @@ const asciiTable = require('ascii-table'); class Profiler { - constructor(embark ,options) { + constructor(embark) { this.embark = embark; this.logger = embark.logger; this.events = embark.events; @@ -47,10 +47,10 @@ class Profiler { self.logger.info("-- profile for " + contractName); this.profile(contractName, contract); }); - return "profiled..." + return "profiled..."; } }); } } -module.exports = Profiler; \ No newline at end of file +module.exports = Profiler;