lib/brakeman/report/report_json.rb in brakeman-min-2.6.3 vs lib/brakeman/report/report_json.rb in brakeman-min-3.0.0

- old
+ new

@@ -38,8 +38,8 @@ def convert_to_hashes warnings warnings.map do |w| hash = w.to_hash hash[:file] = warning_file w hash - end.sort_by { |w| w[:file] } + end.sort_by { |w| "#{w[:fingerprint]}#{w[:line]}" } end end