lib/cc/analyzer/formatters/plain_text_formatter.rb in codeclimate-0.84.0 vs lib/cc/analyzer/formatters/plain_text_formatter.rb in codeclimate-0.85.0

- old
+ new

@@ -28,10 +28,10 @@ end puts end print(colorize("Analysis complete! Found #{pluralize(issues.size, "issue")}", :green)) - if warnings.size > 0 + unless warnings.empty? print(colorize(" and #{pluralize(warnings.size, "warning")}", :green)) end puts(colorize(".", :green)) end