Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
usachevgeophy committed Oct 14, 2022
1 parent 3f1ef46 commit d29ae26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonarqube.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

issues = []
report = json.load(open(fname))
for result in report['Results']:
for result in report.get('Results', []):
for vuln in result['Vulnerabilities']:
issues.append({
'engineId': 'Trivy',
Expand Down

0 comments on commit d29ae26

Please sign in to comment.