@cenk1cenk2/oclif-common 3.9.2 → 3.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/index.js +2 -1
- package/dist/hooks/not-found.hook.js +2 -1
- package/dist/hooks/store.hook.js +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/hooks/index.js
CHANGED
|
@@ -411,7 +411,8 @@ var ConfigService = class {
|
|
|
411
411
|
this.defaults = (0, import_path2.join)(this.oclif.root, "config" /* CONFIG_SERVICE_DEFAULTS_DIR */);
|
|
412
412
|
this.logger = new Logger(this.constructor.name, { level: config.logLevel });
|
|
413
413
|
this.parser = new ParserService();
|
|
414
|
-
Object.assign(
|
|
414
|
+
Object.assign(this, config);
|
|
415
|
+
ConfigService.instance = this;
|
|
415
416
|
this.recalculate();
|
|
416
417
|
this.logger.trace("Created a new instance.");
|
|
417
418
|
}
|
|
@@ -407,7 +407,8 @@ var ConfigService = class {
|
|
|
407
407
|
this.defaults = (0, import_path2.join)(this.oclif.root, "config" /* CONFIG_SERVICE_DEFAULTS_DIR */);
|
|
408
408
|
this.logger = new Logger(this.constructor.name, { level: config.logLevel });
|
|
409
409
|
this.parser = new ParserService();
|
|
410
|
-
Object.assign(
|
|
410
|
+
Object.assign(this, config);
|
|
411
|
+
ConfigService.instance = this;
|
|
411
412
|
this.recalculate();
|
|
412
413
|
this.logger.trace("Created a new instance.");
|
|
413
414
|
}
|
package/dist/hooks/store.hook.js
CHANGED
|
@@ -574,7 +574,8 @@ var ConfigService = class {
|
|
|
574
574
|
this.defaults = (0, import_path2.join)(this.oclif.root, "config" /* CONFIG_SERVICE_DEFAULTS_DIR */);
|
|
575
575
|
this.logger = new Logger(this.constructor.name, { level: config.logLevel });
|
|
576
576
|
this.parser = new ParserService();
|
|
577
|
-
Object.assign(
|
|
577
|
+
Object.assign(this, config);
|
|
578
|
+
ConfigService.instance = this;
|
|
578
579
|
this.recalculate();
|
|
579
580
|
this.logger.trace("Created a new instance.");
|
|
580
581
|
}
|
package/dist/index.js
CHANGED
|
@@ -470,7 +470,8 @@ var ConfigService = class {
|
|
|
470
470
|
this.defaults = (0, import_path2.join)(this.oclif.root, "config" /* CONFIG_SERVICE_DEFAULTS_DIR */);
|
|
471
471
|
this.logger = new Logger(this.constructor.name, { level: config.logLevel });
|
|
472
472
|
this.parser = new ParserService();
|
|
473
|
-
Object.assign(
|
|
473
|
+
Object.assign(this, config);
|
|
474
|
+
ConfigService.instance = this;
|
|
474
475
|
this.recalculate();
|
|
475
476
|
this.logger.trace("Created a new instance.");
|
|
476
477
|
}
|