mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Fix terraform_providers_lock hook broken in v1.79.0 (#521)
This commit is contained in:
parent
2e8e13f04a
commit
6bfc5bf767
1 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,9 @@ function main {
|
||||||
#######################################################################
|
#######################################################################
|
||||||
function per_dir_hook_unique_part {
|
function per_dir_hook_unique_part {
|
||||||
local -r dir_path="$1"
|
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 -a -r args=("$@")
|
||||||
|
|
||||||
local exit_code
|
local exit_code
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue