Skip to content

Commit e04eb19

Browse files
committed
fix: fixes a problem where most strict settings were set to true
1 parent d42934f commit e04eb19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/yarnpkg-core/sources/Configuration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,8 @@ function parseValue(configuration: Configuration, path: string, valueBase: any,
682682
}
683683

684684
if (value === undefined) {
685+
// XXX: `enableStrictSettings` is a very special setting, it should only be used by default when importSettings
686+
if (path === `enableStrictSettings`) return undefined;
685687
if (reset || current === undefined)
686688
return defaultValue;
687689
return current;

0 commit comments

Comments
 (0)