mirror of
https://github.com/codecov/codecov-action.git
synced 2026-03-29 17:35:06 +00:00
ensure args > 0
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
|
||||
set -eu
|
||||
|
||||
if [ -z "$1" ]
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "No token supplied"
|
||||
exit
|
||||
echo "No arguments supplied"
|
||||
fi
|
||||
|
||||
bash <(curl -s https://codecov.io/bash) -t $1
|
||||
Reference in New Issue
Block a user