Skip to content

Commit afaca47

Browse files
Fix #2 - output empty CSV report if 0 findings
1 parent ec9bb46 commit afaca47

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

vcmitreject.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ def main():
216216
all_findings = get_all_app_findings(apps)
217217
print()
218218
print('{} self-mitigated findings found within the criteria provided.'.format(len(all_findings)))
219-
if len(all_findings) == 0:
220-
return
221219

222220
# construct report
223221
build_report(all_findings, csv)

0 commit comments

Comments
 (0)