Skip to content

Commit c393834

Browse files
authored
Apply suggestions from code review
1 parent 7cef45d commit c393834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/terraform_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function terraform_docs {
207207
#
208208
if $create_if_not_exist && [[ ! -f "$output_file" ]]; then
209209
dir_have_tf_files="$(
210-
find . -maxdepth 1 -type f \( -name '*.tf' -o -name '*.tofu' -o -name '*.tfvars' \) ||
210+
find . -maxdepth 1 -type f \(-o -name '*.tf' -o -name '*.tofu' -o -name '*.tfvars' \) ||
211211
exit 0
212212
)"
213213

0 commit comments

Comments
 (0)