Skip to content

fix(@angular/cli): don't prompt for analytics when running ng analytics - #22814

Merged
clydin merged 1 commit into
angular:masterfrom
alan-agius4:stop-prompt-analytics
Mar 14, 2022
Merged

clydin merged 1 commit into
angular:masterfrom
alan-agius4:stop-prompt-analytics

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

This addresses the issue when trying to disable analytics the prompt will be shown

ng analytics off
Would you like to share anonymous usage data about this project with the Angular Team at Google under Google’s Privacy Policy at https://policies.google.com/privacy? For more details and how to change this setting, see http://angular.io/analytics. (y/N)

Closes #16784

@alan-agius4 alan-agius4 added state: blocked target: major This PR is targeted for the next major release and removed flag: breaking change state: blocked labels Mar 9, 2022
@alan-agius4
alan-agius4 marked this pull request as ready for review March 9, 2022 16:29
@alan-agius4
alan-agius4 requested a review from clydin March 9, 2022 16:29
…ics`

This addresses the issue  when trying to disable analytics the prompt will be shown

```
ng analytics off
Would you like to share anonymous usage data about this project with the Angular Team at Google under Google’s Privacy Policy at https://policies.google.com/privacy? For more details and how to change this setting, see http://angular.io/analytics. (y/N)
```

Closes #16784

(cherry picked from commit 9a9bd3f2ac22211dc6e8a47be582c5e1390189d7)
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 10, 2022
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 14, 2022
@clydin
clydin merged commit a49cdfb into angular:master Mar 14, 2022
@alan-agius4
alan-agius4 deleted the stop-prompt-analytics branch March 14, 2022 14:29
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Apr 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Googles analytics question keep showing

2 participants