Skip to content
Snippets Groups Projects
Commit b109d379 authored by penenadpi's avatar penenadpi Committed by Anze Luzar
Browse files

Fixing according to comments

parent b1d22b19
Branches
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ class Compatibility:
"js": ["es-lint", "ts-lint"],
"html": ["htmlhint"],
"docker": ["hadolint"],
"other": [""],
"other": [],
}
def __init__(self):
......@@ -101,7 +101,6 @@ class Compatibility:
self.scanned_files["other"] = str(scanned_other)
types = set(types)
print(types)
return types
except Exception as e:
......
......@@ -46,6 +46,7 @@ class ResultsSummary:
# TODO: This part should be extended to cover all relevant cases and code refactored
# TODO: The check names hould not be hardcoded but replaced with parametrized values instead
# TODO: Extract "Passed" and "Problems" into an Enum object and use them
if check == "tfsec":
if outcome.find("No problems detected!") > -1:
self.outcomes[check]["status"] = "Passed"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment