Skip to content

Commit 2e6b270

Browse files
authored
chore: Fix shellcheck v0.10.0 linters rules (#753)
1 parent e251eb2 commit 2e6b270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/_common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function common::parse_and_export_env_vars {
139139
# `$arg` will be checked in `if` conditional, `$ARGS` will be used in the next functions.
140140
# shellcheck disable=SC2016 # '${' should not be expanded
141141
arg=${arg/'${'$env_var_name'}'/$env_var_value}
142-
ARGS[$arg_idx]=$arg
142+
ARGS[arg_idx]=$arg
143143
# shellcheck disable=SC2016 # '${' should not be expanded
144144
common::colorify "green" 'After ${'"$env_var_name"'} expansion: '"'$arg'\n"
145145
continue

0 commit comments

Comments
 (0)