Problem
run([dir, '--write', '--targets', 'bogus']) exits 0, writes nothing, and prints "Run with --write..." even though --write was passed: unknown targets are silently discarded.
Where
src/cli.js (targets filtered against TARGETS, unknowns dropped) + src/report.js (misleading hint).
Acceptance
Add a failing test first with --targets bogus, expecting exit 2 naming the valid targets. Then fix.
Problem
run([dir, '--write', '--targets', 'bogus'])exits 0, writes nothing, and prints "Run with --write..." even though--writewas passed: unknown targets are silently discarded.Where
src/cli.js(targets filtered againstTARGETS, unknowns dropped) +src/report.js(misleading hint).Acceptance
Add a failing test first with
--targets bogus, expecting exit 2 naming the valid targets. Then fix.