Fix --no-strict Terraform opt-out behavior

This commit is contained in:
beatz174-bit
2026-04-29 14:39:04 +10:00
parent 4fcf388092
commit 524a9db758
+1 -1
View File
@@ -273,10 +273,10 @@ validate_terraform() {
if [[ -z "$TERRAFORM_PATH" ]]; then
if (( STRICT_MODE == 1 )); then
error "terraform not found in PATH (required in --strict mode)"
bad=1
else
warn "terraform not found in PATH (allowed only because --no-strict was set)"
fi
bad=1
return "$bad"
fi