Files
Miguel Angel Simon Sierra 8da0950282 fix(cli): keep check --json stdout pure by sending proxy pre-resolve diagnostics to stderr
preResolveHostileMediaProxies() logged its summary and scan-failure lines via
console.info, which writes to stdout. With autoProxy on (the default), any
project containing HEVC/ProRes/AV1 media emitted that line ahead of the JSON
envelope from `check --json`, so JSON.parse(stdout) failed for consumers of
the machine-readable output.

Route both diagnostics through console.error (stderr), matching how the check
command already reports its own failures. Add regression tests asserting the
summary and scan-failure lines land on stderr and that stdout stays untouched.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 02:31:39 +00:00
..
2026-09-08 22:12:51 -04:00
2026-09-08 22:12:51 -04:00
2026-09-08 22:12:51 -04:00