Commit f5e4440
committed
chore(options): drop the shadowed array declaration of config
commonOptions declared config as Array, but the dictionary is built with
globalOptions extending over commonOptions, so the String declaration
(alias -c) always won and the Array entry was unreachable. The test
exercising the array-length check now declares its own array option
instead of leaning on the shadowed entry.1 parent 353ec6b commit f5e4440
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
249 | 251 | | |
250 | 252 | | |
251 | 253 | | |
| |||
0 commit comments