Skip to content

Commit 954f217

Browse files
committed
no token required conditional
1 parent 83134b4 commit 954f217

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -eu
44

55
if [ $# -eq 0 ]
66
then
7-
echo "No arguments supplied. Please make sure to provide an upload token"
8-
exit 1
7+
bash <(curl -s https://codecov.io/bash)
8+
else
9+
bash <(curl -s https://codecov.io/bash) -t $1
910
fi
1011

11-
bash <(curl -s https://codecov.io/bash) -t $1

0 commit comments

Comments
 (0)