SIGN IN SIGN UP

test: simplify hooks temp-dir cleanup to a one-line exit handler (#221)

#213 guarded cleanup with a flag + named function + process.once. But
fs.rmSync with force:true already no-ops on a missing path, so the guard
and the explicit end-of-file call are unnecessary. Collapse to a single
process.on('exit') handler.

Refs #204

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
D
DietrichGebert committed
248a30b40b2957d70b304bf0d08b048183a56508
Parent: ee263e5
Committed by GitHub <noreply@github.com> on 6/20/2026, 11:29:09 PM