lib/tasks/coffeelint.rake in coffeelint-1.9.1 vs lib/tasks/coffeelint.rake in coffeelint-1.10.0.pre.patch.1

- old
+ new

@@ -1,5 +1,5 @@ desc "lint application javascript" task :coffeelint do - success = Coffeelint.run_test_suite('app') and Coffeelint.run_test_suite('spec') - fail "Lint!" unless success + failures = Coffeelint.run_test_suite('app') + Coffeelint.run_test_suite('spec') + fail "Lint!" unless failures == 0 end