From 2e6b2702240964dc57556936740d27d39cfbe3e7 Mon Sep 17 00:00:00 2001 From: Maksym Vlasov Date: Tue, 14 Jan 2025 21:05:57 +0200 Subject: [PATCH] chore: Fix shellcheck v0.10.0 linters rules (#753) --- hooks/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/_common.sh b/hooks/_common.sh index 25022e329..fc0c930a7 100644 --- a/hooks/_common.sh +++ b/hooks/_common.sh @@ -139,7 +139,7 @@ function common::parse_and_export_env_vars { # `$arg` will be checked in `if` conditional, `$ARGS` will be used in the next functions. # shellcheck disable=SC2016 # '${' should not be expanded arg=${arg/'${'$env_var_name'}'/$env_var_value} - ARGS[$arg_idx]=$arg + ARGS[arg_idx]=$arg # shellcheck disable=SC2016 # '${' should not be expanded common::colorify "green" 'After ${'"$env_var_name"'} expansion: '"'$arg'\n" continue