You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment reportAnalytics is called outside of run this has a side effect of only sending options that are used in the command line and are non leftovers. Which results in a lot of data being not being sent to Google Analytics.
…ig and prompts
With this change we fix two analytics collection bugs:
- We now collect the usage of options defined in the workspace config (angular.json).
- We now also collect values set via schematic prompts.
Closes: #17900
🐞 Bug report
Is this a regression?
No
Description
At the moment
reportAnalytics
is called outside ofrun
this has a side effect of only sending options that are used in the command line and are non leftovers. Which results in a lot of data being not being sent to Google Analytics.angular-cli/packages/angular/cli/models/command.ts
Lines 183 to 184 in b630317
Reasons:
Values defined in
angular.json
or via prompts are ignored and not sent.Option parsing and merging happen during the
run
.🔥 Exception or Error
None
🌍 Your Environment
All versions
The text was updated successfully, but these errors were encountered: