mirror of
https://github.com/codecov/codecov-action.git
synced 2025-12-09 00:26:25 +00:00
exit if no args
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user