Skip to content

Commit

Permalink
Fix indentions
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch committed Dec 19, 2024
1 parent e831fb2 commit a75285c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo/tools/hcl_asoc_sast/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ def get_findings(self, file, test):
description = description + "***Cause:" + "\n"
for causeitem in aitem:
if causeitem.attrib["type"] == "string" and causeitem.text is not None:
description = description + causeitem.text + "\n"
description = description + causeitem.text + "\n"
if aitem.tag == "recommendations":
for recitem in aitem:
if recitem.attrib["type"] == "string" and recitem.text is not None:
recommendations = recommendations + recitem.text + "\n"
recommendations = recommendations + recitem.text + "\n"
elif recitem.attrib["type"] == "object":
codeblock = recitem.iter()
for codeitem in codeblock:
Expand Down

0 comments on commit a75285c

Please sign in to comment.