Commit 1248e72
committed
fix(maven): propagate batch runner exit code failures
The batch executor was always resolving the promise even when the
batch runner JAR exited with a non-zero code. This meant that test
failures were not being propagated back to the CLI.
Now properly rejects the promise when exitCode !== 0, ensuring that:
- Failed tests cause the nx command to throw an error
- The test output is captured and displayed
- The overall command exits with the correct exit code1 parent 2b4bf9c commit 1248e72
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
201 | 206 | | |
202 | 207 | | |
203 | 208 | | |
| |||
0 commit comments