Fix cli matchers to only include actual matcher objects

This commit is contained in:
Dan Kubb 2013-04-17 18:59:32 -07:00
parent 10321549cd
commit c00d39d855

View file

@ -157,7 +157,8 @@ module Mutant
def dispatch_matcher
argument = current_argument
consume(1)
@matchers << Classifier.build(argument)
matcher = Classifier.build(argument)
@matchers << matcher if matcher
end
# Process option argument