lib/wcc/reek.rb in danger-wcc-0.0.5 vs lib/wcc/reek.rb in danger-wcc-0.0.6

- old
+ new

@@ -47,10 +47,10 @@ def add_reek_warning(line, with_line_number) return unless warning = line.content.match(/^\+?\s*([^\:]+\:\s+.+)$/i) line_info = with_line_number.match(/^\s*([^\:]+)\:(\d+)\:/i) plugin.warn(format_links_as_markdown(warning.captures[0]), - file: line_info.captures[0], - line: line_info.captures[1].to_i) + file: line_info.captures[0], + line: line_info.captures[1].to_i) end end end