diff --git a/hooks/terraform_docs.sh b/hooks/terraform_docs.sh index 3b0260087..923b73d83 100755 --- a/hooks/terraform_docs.sh +++ b/hooks/terraform_docs.sh @@ -265,7 +265,7 @@ function terraform_docs { if [[ "$terraform_docs_awk_file" == "0" ]]; then # shellcheck disable=SC2086 - terraform-docs --output-mode inject $tf_docs_formatter $args --output-file="$text_file" ./ + terraform-docs --output-mode inject $tf_docs_formatter $args --output-file="$text_file" ./ > /dev/null else # Can't append extension for mktemp, so renaming instead local tmp_file_docs