Skip to content

Commit

Permalink
fix(@angular/cli): Revert change to config reading
Browse files Browse the repository at this point in the history
The code before this change prevented reading of global configuration values.
  • Loading branch information
Brocco authored and hansl committed Aug 10, 2017
1 parent 41dce6e commit 99eba98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/models/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class CliConfig extends CliConfigBase<ConfigInterface> {
const projectConfig = CliConfig.fromProject();
if (projectConfig) {
value = projectConfig.get(jsonPath);
} else if (CliConfig.globalConfigFilePath() !== CliConfig.configFilePath()) {
} else {
const globalConfig = CliConfig.fromGlobal();
if (globalConfig) {
value = globalConfig.get(jsonPath);
Expand Down

0 comments on commit 99eba98

Please sign in to comment.