Commit 9b856ef
committed
fix(cli): coverage failures throw instead of returning a string
Returning the error text made ERROR: exit 0 on failure. Throw
Wheels.CoverageFailed so the runtime maps it to a non-zero exit, matching the
typed-error convention used by every other write-side command. The finally
block still reverts instrumentation.
Signed-off-by: Peter Amiri <peter@alurium.com>1 parent a488edf commit 9b856ef
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
850 | 854 | | |
851 | 855 | | |
852 | 856 | | |
| |||
0 commit comments