fix linting errors

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
VoR0220 2018-05-08 10:41:38 -05:00
parent d8c1418042
commit ab53bfba0c
2 changed files with 3 additions and 4 deletions

View File

@ -190,7 +190,6 @@ class Engine {
this.registerModule('profiler', { this.registerModule('profiler', {
events: this.events, events: this.events,
logger: this.logger, logger: this.logger,
plugins: this.plugins,
}); });
this.contractsManager = new ContractsManager({ this.contractsManager = new ContractsManager({

View File

@ -1,7 +1,7 @@
const asciiTable = require('ascii-table'); const asciiTable = require('ascii-table');
class Profiler { class Profiler {
constructor(embark ,options) { constructor(embark) {
this.embark = embark; this.embark = embark;
this.logger = embark.logger; this.logger = embark.logger;
this.events = embark.events; this.events = embark.events;
@ -47,10 +47,10 @@ class Profiler {
self.logger.info("-- profile for " + contractName); self.logger.info("-- profile for " + contractName);
this.profile(contractName, contract); this.profile(contractName, contract);
}); });
return "profiled..." return "profiled...";
} }
}); });
} }
} }
module.exports = Profiler; module.exports = Profiler;