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