We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.npmrc
1 parent 77c96f8 commit e9717e5Copy full SHA for e9717e5
packages/angular/cli/utilities/package-metadata.ts
@@ -120,9 +120,11 @@ function readOptions(
120
];
121
122
const projectConfigLocations: string[] = [path.join(cwd, dotFilename)];
123
- const root = path.parse(cwd).root;
124
- for (let curDir = path.dirname(cwd); curDir && curDir !== root; curDir = path.dirname(curDir)) {
125
- projectConfigLocations.unshift(path.join(curDir, dotFilename));
+ if (yarn) {
+ const root = path.parse(cwd).root;
+ for (let curDir = path.dirname(cwd); curDir && curDir !== root; curDir = path.dirname(curDir)) {
126
+ projectConfigLocations.unshift(path.join(curDir, dotFilename));
127
+ }
128
}
129
130
if (showPotentials) {
0 commit comments