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

- old
+ new

@@ -54,10 +54,10 @@ return unless warning = with_line_number.match( /^([^\:]+)\:\s+line\s+(\d+),\s+col\s+\d+,\s+(.+)$/i ) plugin.warn(warning.captures[2], - file: warning.captures[0], - line: warning.captures[1].to_i) + file: warning.captures[0], + line: warning.captures[1].to_i) end end end