From 03ae51501825cee008981ec302314fb8511bf24f Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Fri, 24 Jul 2020 08:14:01 -0500 Subject: [PATCH] remove dead loop, set terrascan to default true --- lib/validation.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/validation.sh b/lib/validation.sh index 082e8066..07387fd5 100755 --- a/lib/validation.sh +++ b/lib/validation.sh @@ -89,25 +89,9 @@ function GetValidationInfo() { else # No linter flags were set - default all to true eval "${VALIDATE_LANGUAGE}='true'" - # Default Terrascan to false - export VALIDATE_TERRAFORM_TERRASCAN="false" fi done - ###################################### - # Validate if we should check GROOVY # - ###################################### - if [[ $ANY_SET == "true" ]]; then - # Some linter flags were set - only run those set to true - if [[ -z $VALIDATE_GROOVY ]]; then - # GROOVY flag was not set - default to false - VALIDATE_GROOVY="false" - fi - else - # No linter flags were set - default all to true - VALIDATE_GROOVY="true" - fi - ####################################### # Print which linters we are enabling # #######################################