Skip to content

Commit

Permalink
fix(@angular/cli): updated CLI should not have analytics enabled
Browse files Browse the repository at this point in the history
In the case users don't have analytics globally configured when the CLI will self update during ng update. It will prompt to configure this.

However, afterwards the update will fail with `Repository is not clean.  Please commit or stash any changes before updating.` as there would be uncommited local changed.
  • Loading branch information
alan-agius4 authored and vikerman committed Oct 30, 2019
1 parent 9e633ee commit 2e398d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/angular/cli/tasks/install-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export function runTempPackageBin(
env: {
...process.env,
NG_DISABLE_VERSION_CHECK: 'true',
NG_CLI_ANALYTICS: 'false',
},
});

Expand Down

0 comments on commit 2e398d0

Please sign in to comment.