From 6bfc5bf7670a6d9fbf21d1a686fdaa941ab34aa6 Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Tue, 9 May 2023 18:35:08 +0300 Subject: [PATCH] fix: Fix `terraform_providers_lock` hook broken in v1.79.0 (#521) --- hooks/terraform_providers_lock.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hooks/terraform_providers_lock.sh b/hooks/terraform_providers_lock.sh index dedbcfd97..638e3f9cf 100755 --- a/hooks/terraform_providers_lock.sh +++ b/hooks/terraform_providers_lock.sh @@ -34,7 +34,9 @@ function main { ####################################################################### function per_dir_hook_unique_part { local -r dir_path="$1" - shift + # shellcheck disable=SC2034 # Unused var. + local -r change_dir_in_unique_part="$2" + shift 2 local -a -r args=("$@") local exit_code