lib/quality/tools/cane.rb in quality-2.1.1 vs lib/quality/tools/cane.rb in quality-3.0.0
- old
+ new
@@ -16,13 +16,11 @@
.join(' ')
end
def quality_cane
write_out_dot_cane unless @configuration_writer.exist?('.cane')
-
ratchet_quality_cmd('cane',
- gives_error_code_on_violations: true,
- args: args,
+ gives_error_code_on_violations: true, args: args,
emacs_format: true) do |line|
if line =~ /\(([0-9]*)\):$/
Regexp.last_match[1].to_i
else
0