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;