Permalink
Browse files

Merge pull request #9 from airblade/master

Allow imperative form of 'fix' / 'close'
  • Loading branch information...
2 parents db13303 + 01e4d4c commit 2b3f6fe92959d3f4cb9fb0938ea7346003b7d246 @igrigorik committed Dec 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bugspots/scanner.rb
View
@@ -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 2b3f6fe

Please sign in to comment.