lib/coffeelint.rb in coffeelint-1.10.0.pre.patch.1 vs lib/coffeelint.rb in coffeelint-1.10.0
- old
+ new
@@ -110,8 +110,8 @@
errors_count = 0
Coffeelint.lint_dir(directory, config) do |name, errors|
errors_count += errors.count
result = Coffeelint.display_test_results(name, errors, pretty_output)
end
- errors_count
+ exit errors_count
end
end