mirror of https://github.com/embarklabs/embark.git
refactor(@embark/cmd_controller): remove logger call in initConfig
This commit is contained in:
parent
41e351b961
commit
b28054530d
|
@ -27,8 +27,6 @@ class EmbarkController {
|
||||||
initConfig(env, options) {
|
initConfig(env, options) {
|
||||||
this.events = new Events();
|
this.events = new Events();
|
||||||
this.logger = new Logger({ logLevel: Logger.logLevels.debug, events: this.events, context: this.context });
|
this.logger = new Logger({ logLevel: Logger.logLevels.debug, events: this.events, context: this.context });
|
||||||
|
|
||||||
this.logger.info('foo');
|
|
||||||
this.config = new Config({ env: env, logger: this.logger, events: this.events, context: this.context, version: this.version });
|
this.config = new Config({ env: env, logger: this.logger, events: this.events, context: this.context, version: this.version });
|
||||||
this.config.loadConfigFiles(options);
|
this.config.loadConfigFiles(options);
|
||||||
this.plugins = this.config.plugins;
|
this.plugins = this.config.plugins;
|
||||||
|
|
Loading…
Reference in New Issue