Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeleg committed Nov 1, 2023
1 parent 405a616 commit 9f0b650
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ def enrich_cves_with_sast_data(
) -> None:
for cve_check in current_cves:
if cve_check.vulnerability_details:
package_name = cve_check.vulnerability_details.get('package_name', '')
is_package_used = self._is_package_used_for_cve(cve_check, sast_files_by_packages_map)
cve_check.vulnerability_details.get('risk_factors', {})['IsUsed'] = is_package_used

Expand Down

0 comments on commit 9f0b650

Please sign in to comment.