From 954f2171b8ec8dadeeb72f922a9289b198417f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cibrahim0814=E2=80=9D?= Date: Tue, 6 Aug 2019 21:46:14 -0700 Subject: [PATCH] no token required conditional --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5cb8ea0..5f2a6fe 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,8 +4,8 @@ set -eu if [ $# -eq 0 ] then - echo "No arguments supplied. Please make sure to provide an upload token" - exit 1 + bash <(curl -s https://codecov.io/bash) +else + bash <(curl -s https://codecov.io/bash) -t $1 fi -bash <(curl -s https://codecov.io/bash) -t $1 \ No newline at end of file