fixed script that running all checks
This commit is contained in:
parent
9c67e03de3
commit
0fb871f6c6
@ -26,7 +26,7 @@ CURRENT_DIR=$(pwd)
|
||||
if [ -f "terraform/scripts/run_security_checks.sh" ]; then
|
||||
# Change to terraform directory and run the security checks
|
||||
cd terraform
|
||||
if bash scripts/run_security_checks.sh --pre-commit; then
|
||||
if bash scripts/run_security_checks.sh; then
|
||||
cd "$CURRENT_DIR"
|
||||
echo -e "${GREEN}Terraform security checks passed!${NC}"
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user