Skip to content

Commit 548617c

Browse files
alan-agius4vikerman
authored andcommitted
fix(@angular/cli): updated CLI should not have analytics enabled
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.
1 parent 77a4fba commit 548617c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/angular/cli/tasks/install-package.ts

+1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ export function runTempPackageBin(
155155
env: {
156156
...process.env,
157157
NG_DISABLE_VERSION_CHECK: 'true',
158+
NG_CLI_ANALYTICS: 'false',
158159
},
159160
});
160161

0 commit comments

Comments
 (0)