lib/tailor/cli.rb in tailor-1.1.0 vs lib/tailor/cli.rb in tailor-1.1.1
- old
+ new
@@ -43,9 +43,9 @@
@reporter.file_report(problems_for_file, label)
end
@reporter.summary_report(@critic.problems)
- @critic.problem_count > 0
+ @critic.problem_count(:error) > 0
end
end
end