mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-11 05:27:24 +00:00
exit if no args
This commit is contained in:
parent
1094133f78
commit
9b515b6249
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@ set -eu
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "No arguments supplied"
|
echo "No arguments supplied. Please make sure to provide an upload token"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bash <(curl -s https://codecov.io/bash) -t $1
|
bash <(curl -s https://codecov.io/bash) -t $1
|
||||||
Loading…
Reference in a new issue