Skip to content

Commit 297cc75

Browse files
authored
fix: Fixed tfupdate to work in all cases, not only pre-commit run --all (antonbabenko#375)
1 parent 8668ade commit 297cc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/tfupdate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function per_dir_hook_unique_part {
3333

3434
# pass the arguments to hook
3535
# shellcheck disable=SC2068 # hook fails when quoting is used ("$arg[@]")
36-
tfupdate ${args[@]} "${dir_path}"
36+
tfupdate ${args[@]} .
3737

3838
# return exit code to common::per_dir_hook
3939
local exit_code=$?

0 commit comments

Comments
 (0)