Method: Overcommit::Hook::CommitMsg::MessageFormat#run
- Defined in:
- lib/overcommit/hook/commit_msg/message_format.rb
#run ⇒ Object
6 7 8 9 10 11 |
# File 'lib/overcommit/hook/commit_msg/message_format.rb', line 6 def run error_msg = validate_pattern(.join("\n")) return :fail, error_msg if error_msg :pass end |