exit if no args

This commit is contained in:
“ibrahim0814”
2019-08-06 18:10:57 -07:00
parent 1094133f78
commit 9b515b6249

View File

@@ -4,7 +4,8 @@ set -eu
if [ $# -eq 0 ]
then
echo "No arguments supplied"
echo "No arguments supplied. Please make sure to provide an upload token"
exit
fi
bash <(curl -s https://codecov.io/bash) -t $1