Skip to content

Commit 6bfc5bf

Browse files
authored
fix: Fix terraform_providers_lock hook broken in v1.79.0 (antonbabenko#521)
1 parent 2e8e13f commit 6bfc5bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hooks/terraform_providers_lock.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ function main {
3434
#######################################################################
3535
function per_dir_hook_unique_part {
3636
local -r dir_path="$1"
37-
shift
37+
# shellcheck disable=SC2034 # Unused var.
38+
local -r change_dir_in_unique_part="$2"
39+
shift 2
3840
local -a -r args=("$@")
3941

4042
local exit_code

0 commit comments

Comments
 (0)