mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat: rename pre-commit-terraform to pre-commit-opentofu, pt X
This commit is contained in:
parent
d4c409dfff
commit
a8ef967e92
2 changed files with 4 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ function tofu_docs_ {
|
|||
IFS=";" read -r -a configs <<< "$hook_config"
|
||||
|
||||
local hack_tofu_docs
|
||||
hack_terraform_docs=$(terraform version | sed -n 1p | grep -c 0.12) || true
|
||||
hack_terraform_docs=$(tofu version | sed -n 1p | grep -c 0.12) || true
|
||||
|
||||
if [[ ! $(command -v terraform-docs) ]]; then
|
||||
echo "ERROR: terraform-docs is required by terraform_docs pre-commit hook but is not installed or in the system's PATH."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue