Skip to content

Commit 312fe57

Browse files
committed
fix: remove unnecessary echo triggering SC2116
1 parent c26ee28 commit 312fe57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/tests/test-functions.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ function run_le_container {
2424
local cli_args_arr_tmp
2525
IFS=' ' read -r -a cli_args_arr_tmp <<< "${2:?}"
2626
cli_args_arr+=("${cli_args_arr_tmp[0]}") #Head
27-
#shellcheck disable=SC2116
28-
cli_args_arr+=("$(echo "${cli_args_arr_tmp[@]:1}")") #Tail
27+
cli_args_arr+=("${cli_args_arr_tmp[*]:1}") #Tail
2928
shift 2
3029
;;
3130

0 commit comments

Comments
 (0)