Skip to content

Commit

Permalink
Fix args array concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
petroprotsakh authored Jan 14, 2020
1 parent 297920d commit 9eee8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mapfile -t lines < <(echo "$INPUT_TESTS" | grep -v "^$")
e_code=0
for line in "${lines[@]}"; do
read -r -a args <<< "$line"
cmd="/opa test ${args[*]} $INPUT_OPTIONS"
cmd="/opa test ${args[@]} $INPUT_OPTIONS"
echo " 🚀 Running: $cmd"
printf "\n"
eval "$cmd" || e_code=1
Expand Down

0 comments on commit 9eee8c1

Please sign in to comment.