lib/tasks/coffeelint.rake in coffeelint-1.10.0 vs lib/tasks/coffeelint.rake in coffeelint-1.11.0

- 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