diff --git a/lib/worker.sh b/lib/worker.sh index 1874a49f..d28515e4 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -214,7 +214,6 @@ function LintCodebase() { ${LINTER_COMMAND} "${FILE}" 2>&1 ) fi - ####################### # Load the error code # ####################### @@ -607,7 +606,7 @@ function RunTestCases() { TestCodebase "RUBY" "rubocop" "rubocop -c ${RUBY_LINTER_RULES}" ".*\.\(rb\)\$" "ruby" TestCodebase "STATES" "asl-validator" "asl-validator --json-path" ".*\.\(json\)\$" "states" TestCodebase "TERRAFORM" "tflint" "tflint -c ${TERRAFORM_LINTER_RULES}" ".*\.\(tf\)\$" "terraform" - TestCodebase "TERRAFORM" "terrascan" "terrascan -l " ".*\.\(tf\)\$" "terraform" + TestCodebase "TERRAFORM" "terrascan" "terrascan -f " ".*\.\(tf\)\$" "terraform" TestCodebase "TYPESCRIPT_ES" "eslint" "eslint --no-eslintrc -c ${TYPESCRIPT_LINTER_RULES}" ".*\.\(ts\)\$" "typescript" TestCodebase "TYPESCRIPT_STANDARD" "standard" "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin ${TYPESCRIPT_STANDARD_LINTER_RULES}" ".*\.\(ts\)\$" "typescript" TestCodebase "XML" "xmllint" "xmllint" ".*\.\(xml\)\$" "xml"