-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit 2c498d2
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.1 parent 7e8ae01 commit 2c498d2
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