mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Squash terraform_docs bug (#138)
This commit is contained in:
parent
861c1166f9
commit
6c77a6cdc9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue