Method: PreCommit::Runner#checks
- Defined in:
- lib/pre-commit/runner.rb
#checks(list) ⇒ Object
71 72 73 74 75 76 77 78 |
# File 'lib/pre-commit/runner.rb', line 71 def checks(list) "pre-commit: Stopping commit because of errors.\n\#{errors_to_string(list)}\npre-commit: You can bypass this check using `git commit -n`\n\n" end |