diff --git a/terraform_docs.sh b/terraform_docs.sh index 64af6a2..1152cb1 100755 --- a/terraform_docs.sh +++ b/terraform_docs.sh @@ -6,7 +6,7 @@ main() { parse_cmdline_ "$@" # Support for setting relative PATH to .terraform-docs.yml config. ARGS=${ARGS[*]/--config=/--config=$(pwd)\/} - terraform_docs_ "${HOOK_CONFIG[*]}" "$ARGS" "${FILES[*]}" + terraform_docs_ "${HOOK_CONFIG[*]}" "$ARGS" "${FILES[@]}" } initialize_() {