Skip to content

Analytics question prevents update to v9#16012

Description

@DeborahK

馃悶 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

  1. ng update @angular/cli @angular/core --next

  2. Answer Y to " Would you like to share anonymous usage data..."

  3. 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions