lib/bundler/audit/scanner.rb in mrjoy-bundler-audit-0.1.4 vs lib/bundler/audit/scanner.rb in mrjoy-bundler-audit-0.2.1
- old
+ new
@@ -81,10 +81,10 @@
end
end
@lockfile.specs.each do |gem|
@database.check_gem(gem) do |advisory|
- unless ignore.include?("CVE-#{advisory.cve}")
+ unless ignore.include?(advisory.id)
yield UnpatchedGem.new(gem,advisory)
end
end
end