Skip to content

Commit

Permalink
fix: Fixed args expand in terraform_docs (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov authored Oct 26, 2021
1 parent bb880b0 commit 01a6170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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_() {
Expand Down

0 comments on commit 01a6170

Please sign in to comment.