Skip to content

Commit

Permalink
Fix: Quote path to terraform in terraform_fmt hook
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbowes committed Sep 5, 2024
1 parent 9d3164c commit af133c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/terraform_fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function per_dir_hook_unique_part {
local -a -r args=("$@")

# pass the arguments to hook
$tf_path fmt "${args[@]}"
"$tf_path" fmt "${args[@]}"

# return exit code to common::per_dir_hook
local exit_code=$?
Expand Down

0 comments on commit af133c4

Please sign in to comment.