set error check

This commit is contained in:
“ibrahim0814”
2019-08-06 17:19:19 -07:00
parent f7d6a49e27
commit 4e7c8dac10

View File

@@ -4,4 +4,10 @@ set -eu
#echo $1 #echo $1
if [ -z "$1" ]
then
echo "No token supplied"
exit
fi
bash <(curl -s https://codecov.io/bash) -t $1 bash <(curl -s https://codecov.io/bash) -t $1