mirror of https://github.com/embarklabs/embark.git
fix linting errors
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
d8c1418042
commit
ab53bfba0c
|
@ -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({
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue