forked from github/pre-commit-opentofu
fix: Fixed tfupdate to work in all cases, not only pre-commit run --all (#375)
This commit is contained in:
parent
8668ade969
commit
297cc75787
1 changed files with 1 additions and 1 deletions
|
|
@ -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=$?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue