What it does
A branch records a finding by setting process.exitcode, and a later explicit process.exit(n) that never reads it decides the real exit code instead.
How it helps you
A finding's failure code reaches your pipeline.
Tested against itself
3 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Code quality |
|---|---|
| Also filed under | Test quality |
| Checks in this category | 216 |
| ISO/IEC 25010 | Maintainability: modifiability |
| Breaks caught | 3 |