Closed
Description
🐞 bug report
Affected Package
Is this a regression?
Description
When selecting "yes" OR "no" for sharing anonymous usage data, it modifies the angular.json file, adding an analytics entry. This dirties the repository, preventing the update from continuing.🔬 Minimal Reproduction
-
ng update @angular/cli @angular/core --next
-
Answer Y to " Would you like to share anonymous usage data..."
-
Result:
"Thank you for sharing anonymous usage data. Would you change your mind, the following
command will disable this feature entirely:
ng analytics project off
Repository is not clean. Please commit or stash any changes before updating."
🔥 Exception or Error
Repository is not clean. Please commit or stash any changes before updating.
🌍 Your Environment
Angular Version:
8.1.3
Anything else relevant?