cli: drop dead defer in test TestMain that os.Exit skips

main

Commit

Soph3mo ago

The deferred os.RemoveAll never ran because TestMain ends with os.Exit(code); the same cleanup already runs explicitly just before the exit. Removing it clears the gocritic exitAfterDefer lint failure.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 438e4b46f73c

Checkpoints

Fix Linting Issues in CLI Tests

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1