Skip to content

Commit bef80ef

Browse files
committed
test/lib/library.sh: address shellcheck SC2125
1 parent 34e5e6a commit bef80ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lib/library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ diff_env() {
3333
# Unset variable after outputting.
3434
# @param $1 Name of array variable to process
3535
echo_array() {
36-
local name=$1[@]
36+
local name="$1[@]"
3737
printf "%s\n" "${!name}" | sort
3838
} # echo_array()

0 commit comments

Comments
 (0)