lib/brakeman/report/report_tabs.rb in brakeman-lib-6.1.2 vs lib/brakeman/report/report_tabs.rb in brakeman-lib-6.2.0
- old
+ new
@@ -7,10 +7,9 @@
[[:generic_warnings, "General"], [:controller_warnings, "Controller"],
[: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]/, ' ')
"#{(w.file.absolute)}\t#{line}\t#{w.warning_type}\t#{category}\t#{w.format_message}\t#{w.confidence_name}"
end.join "\n"
end.join "\n"