no token required conditional

This commit is contained in:
“ibrahim0814”
2019-08-06 21:46:14 -07:00
parent 83134b4d62
commit 954f2171b8

View File

@@ -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