don't echo removal token

This commit is contained in:
Bryan MacFarlane
2020-04-15 14:31:37 -04:00
parent ce43e5043a
commit 1d88f86230

View File

@@ -46,7 +46,7 @@ which jq || fatal "jq required. Please install in PATH with apt-get, brew, etc"
# Get a remove token
#--------------------------------------
echo
echo "Generating a registration token..."
echo "Generating a removal token..."
# if the scope has a slash, it's an repo runner
base_api_url="https://api.github.com/orgs"
@@ -58,8 +58,6 @@ export REMOVE_TOKEN=$(curl -s -X POST ${base_api_url}/${runner_scope}/actions/ru
if [ -z "$REMOVE_TOKEN" ]; then fatal "Failed to get a token"; fi
echo $REMOVE_TOKEN
#---------------------------------------
# Stop and uninstall the service
#---------------------------------------