Skip to content

Commit

Permalink
fix: Fixed tfupdate to work in all cases, not only `pre-commit run …
Browse files Browse the repository at this point in the history
…--all` (#375)
  • Loading branch information
MaxymVlasov committed Apr 28, 2022
1 parent 8668ade commit 297cc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/tfupdate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=$?
Expand Down

0 comments on commit 297cc75

Please sign in to comment.