Permalink
Browse files

Allow imperative form of 'close'.

This is consistent with git's message style.
  • Loading branch information...
1 parent 66e8f44 commit 01e4d4ca10d28f5c1beece4351e40862ac0eec89 @airblade airblade committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bugspots/scanner.rb
View
2 lib/bugspots/scanner.rb
@@ -12,7 +12,7 @@ def self.scan(repo, branch = "master", depth = 500, words = nil)
if words
message_matchers = /#{words.split(',').join('|')}/
else
- message_matchers = /fix(es|ed)?|close(s|d)/i
+ message_matchers = /fix(es|ed)?|close(s|d)?/i
end
repo.commits(branch, depth).each do |commit|

0 comments on commit 01e4d4c

Please sign in to comment.