From 408a3a6da379c3483f388e6df12e1346189b7c21 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Tue, 25 Jun 2024 11:16:00 +1000 Subject: [PATCH] Ensure that curl works in no token is set Fixes #46 using suggestion by `mgutierrez-wavefin` --- src/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entrypoint.sh b/src/entrypoint.sh index fda7037..07fbd63 100755 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -40,7 +40,7 @@ function parse_inputs { enable_alpha_plugins="--enable_alpha_plugins" fi - with_token="" + with_token=() if [ "${INPUT_TOKEN}" != "" ]; then with_token=(-H "Authorization: token ${INPUT_TOKEN}") fi