mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Fixed 1.54.0 where terraform_docs was broken (#272)
This commit is contained in:
parent
cf0844cd31
commit
4c509434e0
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ main() {
|
||||||
parse_cmdline_ "$@"
|
parse_cmdline_ "$@"
|
||||||
# Support for setting relative PATH to .terraform-docs.yml config.
|
# Support for setting relative PATH to .terraform-docs.yml config.
|
||||||
ARGS=${ARGS[*]/--config=/--config=$(pwd)\/}
|
ARGS=${ARGS[*]/--config=/--config=$(pwd)\/}
|
||||||
terraform_docs_ "${HOOK_CONFIG[*]}" "$ARGS" "${FILES[*]}"
|
terraform_docs_ "${HOOK_CONFIG[*]}" "$ARGS" "${FILES[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
initialize_() {
|
initialize_() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue