lib/brakeman/report/report_tabs.rb in brakeman-lib-4.5.0 vs lib/brakeman/report/report_tabs.rb in brakeman-lib-4.5.1

- old
+ new

@@ -8,10 +8,10 @@ [:model_warnings, "Model"], [:template_warnings, "Template"]].map do |meth, category| self.send(meth).map do |w| line = w.line || 0 w.warning_type.gsub!(/[^\w\s]/, ' ') - "#{warning_file(w, :absolute)}\t#{line}\t#{w.warning_type}\t#{category}\t#{w.format_message}\t#{TEXT_CONFIDENCE[w.confidence]}" + "#{(w.file.absolute)}\t#{line}\t#{w.warning_type}\t#{category}\t#{w.format_message}\t#{TEXT_CONFIDENCE[w.confidence]}" end.join "\n" end.join "\n" end