Skip to content

Commit 6c77a6c

Browse files
authored
fix: Squash terraform_docs bug (antonbabenko#138)
1 parent 861c116 commit 6c77a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ terraform_docs_() {
5959
fi
6060

6161
local is_old_terraform_docs
62-
is_old_terraform_docs=$(terraform-docs version | grep -o "v0.[1-7]" | tail -1)
62+
is_old_terraform_docs=$(terraform-docs version | grep -o "v0.[1-7]" | tail -1) || true
6363

6464
if [[ -z "$is_old_terraform_docs" ]]; then # Using terraform-docs 0.8+ (preferred)
6565

0 commit comments

Comments
 (0)