Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 reset description in progpilot after each finding #10210

Merged
merged 2 commits into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dojo/tools/progpilot/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def get_description_for_scan_types(self, scan_type):

def get_findings(self, filename, test):
findings = []
description = ""
results = json.load(filename)
for result in results:
description = ""
source_name = result.get("source_name", None)
source_line = result.get("source_line", None)
source_column = result.get("source_column", None)
Expand Down
Loading