lib/quality/tools/mdl.rb in quality-32.1.0 vs lib/quality/tools/mdl.rb in quality-32.1.1
- old
+ new
@@ -16,11 +16,15 @@
return
end
ratchet_quality_cmd('mdl',
args: mdl_args,
- gives_error_code_on_violations: true) do |_line|
- 1
+ gives_error_code_on_violations: true) do |line|
+ if line =~ /\d: MD/
+ 1
+ else
+ 0
+ end
end
end
end
end
end