lib/overcommit/hook/pre_commit/fasterer.rb in overcommit-0.58.0 vs lib/overcommit/hook/pre_commit/fasterer.rb in overcommit-0.59.0
- old
+ new
@@ -10,10 +10,10 @@
output = result.stdout
if extract_offense_num(output) == 0
:pass
else
- return [:warn, output]
+ [:warn, output]
end
end
private