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