File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,10 @@ function delete_all_functions {
6363 cd $DIR
6464 # Try to delete, if there are errors it is because the project is already empty,
6565 # in that case do nothing.
66- firebase functions:delete callableTests createUserTests databaseTests deleteUserTests firestoreTests integrationTests pubsubTests remoteConfigTests --force --project=$PROJECT_ID || : &
66+ if [[ $TOKEN == " " ]]; then
67+ firebase functions:delete callableTests createUserTests databaseTests deleteUserTests firestoreTests integrationTests pubsubTests remoteConfigTests --force --project=$PROJECT_ID || : &
68+ else
69+ firebase functions:delete callableTests createUserTests databaseTests deleteUserTests firestoreTests integrationTests pubsubTests remoteConfigTests --force --project=$PROJECT_ID --token=$TOKEN || : &
6770 wait
6871 announce " Project emptied."
6972}
You can’t perform that action at this time.
0 commit comments