mirror of
https://github.com/j178/prek.git
synced 2026-04-25 02:11:36 +02:00
67d956e8a0
* Add --fail-fast CLI flag to stop after first hook failure - Add fail_fast field to RunArgs struct with CLI flag support - Fix in hook_impl.rs where fail_fast was hardcoded to false - Update run() and run_hooks() to accept and propagate fail_fast parameter - CLI flag overrides config file setting (enables fail-fast mode) - Ensure try-repo and main entry point pass fail_fast correctly * Update test snapshots for --fail-fast flag * Add CLI flag test for --fail-fast * Fix trailing whitespace in test comment