standard-log 7.0.2 → 7.0.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/standard-log.js +1 -1
- package/dist/standard-log.js.gz +0 -0
- package/dist/standard-log.js.map +1 -1
- package/dist/standard-log.js.map.gz +0 -0
- package/lib/config.js +1 -1
- package/lib/config.js.map +1 -1
- package/libm/config.js +1 -1
- package/libm/config.js.map +1 -1
- package/package.json +3 -2
- package/src/config.spec.ts +8 -1
- package/src/config.ts +1 -1
- package/CHANGELOG.md +0 -808
package/dist/standard-log.js
CHANGED
|
@@ -1232,7 +1232,7 @@ exports.config = function config(options) {
|
|
|
1232
1232
|
if (store_1.store.value.mode === 'production') {
|
|
1233
1233
|
throw new errors_1.ProhibitedDuringProduction('config');
|
|
1234
1234
|
}
|
|
1235
|
-
if (store_1.store.value.mode === 'test') {
|
|
1235
|
+
if (store_1.store.value.mode === 'test' && options.mode !== 'test') {
|
|
1236
1236
|
var log = (0, getLogger_1.getLogger)('standard-log');
|
|
1237
1237
|
log.warn("already configured for test, ignoring config() call");
|
|
1238
1238
|
return;
|
package/dist/standard-log.js.gz
CHANGED
|
Binary file
|