Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
testaccount90009 committed Dec 12, 2024
1 parent 5ecc580 commit 0b8b2c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/tools/mend/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _build_common_output(node, lib_name=None):
cvssv3=cvss3_vector,
cvssv3_score=float(cvss3_score) if cvss3_score is not None else None,
impact=impact,
steps_to_reproduce="**Locations Found**: ", locations if locations is not None else None,
steps_to_reproduce="**Locations Found**: ".get(locations) if locations is not None else None,
)
if cve:
new_finding.unsaved_vulnerability_ids = [cve]
Expand Down

0 comments on commit 0b8b2c3

Please sign in to comment.