mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Fix regex considering terraform-docs v0.10.0 old (#151)
This commit is contained in:
parent
6b03062a17
commit
d773f4ad79
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ terraform_docs_() {
|
|||
fi
|
||||
|
||||
local is_old_terraform_docs
|
||||
is_old_terraform_docs=$(terraform-docs version | grep -o "v0.[1-7]" | tail -1) || true
|
||||
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