Commit 4da9400
committed
fix(@angular/build): prioritize string type for runnerConfig schema
Reorders the `type` union in the `runnerConfig` option's schema to
prioritize `string` over `boolean`.
This change provides a stronger hint to the CLI's argument parser,
ensuring that when a value is provided for the option (e.g., a file path),
it is unambiguously treated as a string. This improves the robustness of
the parsing logic for this union-type option while preserving the
functionality of its boolean flag forms.1 parent f074f13 commit 4da9400
File tree
2 files changed
+6
-2
lines changed- packages/angular/build/src/builders/unit-test
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments