We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6a120 commit 7cef45dCopy full SHA for 7cef45d
hooks/terraform_docs.sh
@@ -207,7 +207,7 @@ function terraform_docs {
207
#
208
if $create_if_not_exist && [[ ! -f "$output_file" ]]; then
209
dir_have_tf_files="$(
210
- find . -maxdepth 1 \( -name '*.tf' -o -name '*.tofu' -o -name '*.tfvars' \) ||
+ find . -maxdepth 1 -type f \( -name '*.tf' -o -name '*.tofu' -o -name '*.tfvars' \) ||
211
exit 0
212
)"
213
0 commit comments