lib/overcommit/hook/commit_msg/trailing_period.rb in overcommit-0.14.1 vs lib/overcommit/hook/commit_msg/trailing_period.rb in overcommit-0.15.0
- old
+ new
@@ -4,9 +4,9 @@
def run
if commit_message_lines.first.rstrip.end_with?('.')
return :warn, 'Please omit trailing period from commit message subject'
end
- :good
+ :pass
end
end
end