From 07ddb9b70ebe926f2435c3da9e90f551f4f1be4e Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Sun, 28 Jul 2013 18:58:14 +0200 Subject: [PATCH] Fix style issue in Printer::Config --- lib/mutant/reporter/cli/printer/config.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/mutant/reporter/cli/printer/config.rb b/lib/mutant/reporter/cli/printer/config.rb index 0551580e..48fac422 100644 --- a/lib/mutant/reporter/cli/printer/config.rb +++ b/lib/mutant/reporter/cli/printer/config.rb @@ -130,8 +130,9 @@ module Mutant def generic_stats object.subjects.each_with_object(Hash.new(0)) do |runner, stats| Walker.run(runner.subject.node) do |node| - next unless Mutator::Registry.lookup(node) == Mutator::Node::Generic - stats[node.type] += 1 + if Mutator::Registry.lookup(node) == Mutator::Node::Generic + stats[node.type] += 1 + end end end end