mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-17 21:15:40 +02:00
Replace console.log(data) with process.stdout.write(data) in both pass-through paths to prevent appending a trailing newline that corrupts the hook output. Add 7 tests covering exact byte fidelity, malformed JSON, missing file_path, non-existent files, exclusion patterns in check-console-log, non-git repo handling, and empty stdin.