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 104e452 commit 46cb936
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**: " locations if locations is not None else None,

Check failure on line 197 in dojo/tools/mend/parser.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff

dojo/tools/mend/parser.py:197:60: SyntaxError: Expected ',', found name
)
if cve:
new_finding.unsaved_vulnerability_ids = [cve]
Expand Down

0 comments on commit 46cb936

Please sign in to comment.