diff --git a/dojo/tools/mend/parser.py b/dojo/tools/mend/parser.py index 0fc4b60545..95b4c45b9d 100644 --- a/dojo/tools/mend/parser.py +++ b/dojo/tools/mend/parser.py @@ -70,7 +70,6 @@ def _build_common_output(node, lib_name=None): component_path = node["component"].get("path", None) if component_path: locations.append(component_path) - steps_to_reproduce = locations if "topFix" in node: try: @@ -198,7 +197,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=steps_to_reproduce if steps_to_reproduce is not None else None + steps_to_reproduce=steps_to_reproduce if steps_to_reproduce is not None else None, ) if cve: new_finding.unsaved_vulnerability_ids = [cve]