Skip to content

Commit 99eba98

Browse files
Broccohansl
authored andcommitted
fix(@angular/cli): Revert change to config reading
The code before this change prevented reading of global configuration values.
1 parent 41dce6e commit 99eba98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@angular/cli/models/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class CliConfig extends CliConfigBase<ConfigInterface> {
3232
const projectConfig = CliConfig.fromProject();
3333
if (projectConfig) {
3434
value = projectConfig.get(jsonPath);
35-
} else if (CliConfig.globalConfigFilePath() !== CliConfig.configFilePath()) {
35+
} else {
3636
const globalConfig = CliConfig.fromGlobal();
3737
if (globalConfig) {
3838
value = globalConfig.get(jsonPath);

0 commit comments

Comments
 (0)