From d423b1c36ac854928f733f4aa3129f8432b30ce1 Mon Sep 17 00:00:00 2001 From: Cesar Rodriguez Date: Fri, 24 Jul 2020 00:19:49 -0400 Subject: [PATCH] Fixes Terrascan command --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index 9c9e3864..5e5aa6da 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -1574,7 +1574,7 @@ if [ "${VALIDATE_TERRAFORM_TERRASCAN}" == "true" ]; then # Lint the Terraform files # ############################ # LintCodebase "FILE_TYPE" "LINTER_NAME" "LINTER_CMD" "FILE_TYPES_REGEX" "FILE_ARRAY" - LintCodebase "TERRAFORM_TERRASCAN" "terrascan" "terrascan -l" ".*\.\(tf\)\$" "${FILE_ARRAY_TERRAFORM[@]}" + LintCodebase "TERRAFORM_TERRASCAN" "terrascan" "terrascan -f " ".*\.\(tf\)\$" "${FILE_ARRAY_TERRAFORM_TERRASCAN[@]}" fi ######################