Skip to content

Commit

Permalink
chore: Updated messages shown in terraform_tflint hook (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov authored Oct 29, 2021
1 parent 57b94a2 commit 32dae32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform_tflint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
}

Expand Down

0 comments on commit 32dae32

Please sign in to comment.