Commit c84d00b
committed
fix: reject workers=0 and negative values with clear error message
resolveWorkers() previously accepted 0 and negative numbers, causing
tests to silently skip with exit code 0. Now throws a descriptive error
for any workers value below 1, matching the behavior of forbidOnly
(false-positives are caught early).
Fixes #399381 parent c68820a commit c84d00b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
249 | 251 | | |
250 | 252 | | |
| 253 | + | |
| 254 | + | |
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
| |||
0 commit comments