Skip to content

Commit

Permalink
fix: Squash terraform_docs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbowes committed Aug 27, 2020
1 parent 861c116 commit afb4a50
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 afb4a50

Please sign in to comment.