lib/pronto/brakeman.rb in pronto-brakeman-0.10.0 vs lib/pronto/brakeman.rb in pronto-brakeman-0.11.0

- old
+ new

@@ -32,11 +32,11 @@ end def new_message(line, warning) Message.new(line.patch.delta.new_file[:path], line, severity_for_confidence(warning.confidence), - "Possible security vulnerability: #{warning.message}", + "Possible security vulnerability: [#{warning.message}](#{warning.link})", nil, self.class) end def severity_for_confidence(confidence_level) case confidence_level @@ -49,10 +49,10 @@ end end def patch_for_warning(ruby_patches, warning) ruby_patches.find do |patch| - patch.new_file_full_path.to_s == warning.file + patch.new_file_full_path.to_s == warning.file.absolute end end end end