lib/overcommit/hook/pre_commit/jsx_hint.rb in overcommit-0.14.1 vs lib/overcommit/hook/pre_commit/jsx_hint.rb in overcommit-0.15.0
- old
+ new
@@ -7,11 +7,11 @@
end
result = execute(%w[jsxhint] + applicable_files)
output = result.stdout
- return :good if output.empty?
+ return :pass if output.empty?
- [:bad, output]
+ [:fail, output]
end
end
end