Skip to content

Commit

Permalink
no token required conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim0814 committed Aug 7, 2019
1 parent 83134b4 commit 954f217
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 954f217

Please sign in to comment.