Commit a793bbc
committed
fix(@angular/cli): don't set a default for array options when length is 0
This change prevents the CLI from setting a default value for array options that have a length of zero. Previously, this would result in an empty array being added as a default, which isn't the intended behavior.
(cherry picked from commit 2c498d2)1 parent 391eb32 commit a793bbc
File tree
1 file changed
+1
-1
lines changed- packages/angular/cli/src/command-builder/utilities
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments