Commit e3f7eb7
committed
refactor: remove process.exit() calls per CLAUDE.md conventions
Replace process.exit() with throw statements and process.exitCode to follow project conventions. CLAUDE.md explicitly forbids process.exit() except in very limited cases.
Changes:
- scripts/test.mjs: Remove redundant process.exit() calls
- scripts/cover.mjs: Throw error instead of process.exit()
- scripts/maintenance/taze.mjs: Use process.exitCode instead of process.exit()
Resolves quality scan issues #17-21 (process.exit violations).1 parent 923698b commit e3f7eb7
3 files changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
442 | 440 | | |
443 | 441 | | |
444 | 442 | | |
445 | 443 | | |
446 | 444 | | |
447 | | - | |
| 445 | + | |
448 | 446 | | |
0 commit comments