fix: Fix terraform_providers_lock hook broken in v1.79.0 (#521)

This commit is contained in:
Maksym Vlasov 2023-05-09 18:35:08 +03:00 committed by GitHub
commit 6bfc5bf767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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