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 {
63
63
cd $DIR
64
64
# Try to delete, if there are errors it is because the project is already empty,
65
65
# 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 || : &
67
70
wait
68
71
announce " Project emptied."
69
72
}
You can’t perform that action at this time.
0 commit comments