lib/quality/rake/task.rb in quality-0.2.11 vs lib/quality/rake/task.rb in quality-0.2.12
- old
+ new
@@ -174,10 +174,10 @@
def quality_reek
args = "--line-number #{ruby_files}"
ratchet_quality_cmd("reek",
args: args,
- emacs_format: true
+ emacs_format: true,
gives_error_code_on_violations: true) { |line|
if line =~ /^ .* (.*)$/
1
else
0