Alan Agius a497d12a6b refactor(@angular/cli): remove hasAnalyticsConfig analytics logic
With this change we clean up further the analytics code and re-use the `getAnalytics` to determine if the config is set or not.

Also, this change inclused a refactor to the `createAnalytics` method to make it more readable.
2022-03-16 11:36:10 -07:00
..