diff --git a/hooks/tfupdate.sh b/hooks/tfupdate.sh index 0c056b21d..d7c08085e 100755 --- a/hooks/tfupdate.sh +++ b/hooks/tfupdate.sh @@ -33,7 +33,7 @@ function per_dir_hook_unique_part { # pass the arguments to hook # shellcheck disable=SC2068 # hook fails when quoting is used ("$arg[@]") - tfupdate ${args[@]} "${dir_path}" + tfupdate ${args[@]} . # return exit code to common::per_dir_hook local exit_code=$?