lib/quality/rake/task.rb in quality-0.2.10 vs lib/quality/rake/task.rb in quality-0.2.11

- old
+ new

@@ -174,10 +174,11 @@ def quality_reek args = "--line-number #{ruby_files}" ratchet_quality_cmd("reek", args: args, - emacs_format: true) { |line| + emacs_format: true + gives_error_code_on_violations: true) { |line| if line =~ /^ .* (.*)$/ 1 else 0 end