lib/quality/quality_checker.rb in quality-37.1.1 vs lib/quality/quality_checker.rb in quality-38.0.0

- old
+ new

@@ -108,12 +108,10 @@ write_violations(violations_to_write) end end def report_violations(existing) - if existing != MAX_VIOLATIONS - @logger.puts "Existing violations: #{existing}" - end + @logger.puts "Existing violations: #{existing}" if existing != MAX_VIOLATIONS @logger.puts "Found #{@violations} #{@cmd} violations" end def full_cmd args = @command_options[:args] || ''