Method: Overcommit::Hook::CommitMsg::MessageFormat#run

Defined in:
lib/overcommit/hook/commit_msg/message_format.rb

#runObject



6
7
8
9
10
11
# File 'lib/overcommit/hook/commit_msg/message_format.rb', line 6

def run
  error_msg = validate_pattern(commit_message_lines.join("\n"))
  return :fail, error_msg if error_msg

  :pass
end