Skip to content

Commit

Permalink
fix: Squash terraform_docs bug (antonbabenko#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbowes authored Aug 28, 2020
1 parent 861c116 commit 6c77a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ terraform_docs_() {
fi

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

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

Expand Down

0 comments on commit 6c77a6c

Please sign in to comment.