-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit aace49e
committed
refactor(@angular/cli): improve analytics handling
This commit includes minor changes to how analytics are handled, including:
- Removing unnecessary type castings.
- Concatenating arrays into strings for Google Analytics, as it doesn't support arrays.
- Applying default values to multi-select prompts for a smoother user experience.1 parent 1feac5f commit aace49e
File tree
3 files changed
+19
-9
lines changed- packages/angular/cli/src/command-builder
- utilities
3 files changed
+19
-9
lines changedLines changed: 13 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 | - | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | ||
93 | 96 |
| |
94 | 97 |
| |
95 | 98 |
| |
| |||
236 | 239 |
| |
237 | 240 |
| |
238 | 241 |
| |
242 | + | ||
243 | + | ||
244 | + | ||
245 | + | ||
239 | 246 |
| |
240 | - | ||
241 | - | ||
242 | - | ||
243 | - | ||
244 | - | ||
247 | + | ||
248 | + | ||
249 | + | ||
250 | + | ||
251 | + | ||
245 | 252 |
| |
246 | 253 |
| |
247 | 254 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
207 | + | ||
207 | 208 |
| |
208 | 209 |
| |
209 | 210 |
| |
210 | 211 |
| |
211 | 212 |
| |
213 | + | ||
212 | 214 |
| |
213 | 215 |
| |
214 | 216 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | + | ||
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
278 | 279 |
| |
279 | 280 |
| |
280 | 281 |
| |
281 | - | ||
282 | + | ||
282 | 283 |
| |
283 | 284 |
| |
284 | - | ||
285 | + | ||
285 | 286 |
| |
286 | 287 |
| |
287 | 288 |
| |
| |||
336 | 337 |
| |
337 | 338 |
| |
338 | 339 |
| |
339 | - | ||
340 | + | ||
340 | 341 |
| |
341 | 342 |
| |
342 | 343 |
| |
|
0 commit comments