diff --git a/lib/mutant/cli.rb b/lib/mutant/cli.rb index 4cd89880..2f27cfe2 100644 --- a/lib/mutant/cli.rb +++ b/lib/mutant/cli.rb @@ -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