chore: Updated messages shown in terraform_tflint hook (#274)

This commit is contained in:
Maksym Vlasov 2021-10-29 16:42:05 +03:00 committed by GitHub
commit 32dae32273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ tflint_() {
# Print checked PATH **only** if TFLint have any messages
# shellcheck disable=SC2091 # Suppress error output
$(tflint "${ARGS[@]}" 2>&1) 2> /dev/null || {
echo >&2 -e "\033[1;31m\nERROR in $path_uniq/:\033[0m"
echo >&2 -e "\033[1;33m\nTFLint in $path_uniq/:\033[0m"
tflint "${ARGS[@]}"
}