lib/rubocop/git/runner.rb in rubocop-git-0.0.5 vs lib/rubocop/git/runner.rb in rubocop-git-0.0.6
- old
+ new
@@ -9,10 +9,10 @@
@options = options
@files = DiffParser.parse(git_diff(options))
display_violations($stdout)
-
+
exit(1) if violations.any?
end
private