Skip to content

Commit 25a3f0e

Browse files
committed
Fix a typo in the purl affected version range condition
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 594ca0b commit 25a3f0e

File tree

1 file changed

+1
-1
lines changed
  • vulnerabilities/importers

1 file changed

+1
-1
lines changed

vulnerabilities/importers/osv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def parse_advisory_data_v2(
139139
purl = get_affected_purl(affected_pkg=affected_pkg, raw_id=advisory_id)
140140

141141
affected_version_range = None
142-
if purl and purl.type not in supported_ecosystems:
142+
if purl and purl.type in supported_ecosystems:
143143
affected_version_range = get_affected_version_range(
144144
affected_pkg=affected_pkg,
145145
raw_id=advisory_id,

0 commit comments

Comments
 (0)