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 committed Aug 17, 2017
1 parent 938507f commit aa9103a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/models/config.ts
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 aa9103a

Please sign in to comment.