Skip to content

Commit 18af1e2

Browse files
anandaraothechenky
authored andcommitted
Add support for token to firebase functions:delete (#487)
This was missed in the PR: #484
1 parent 298f66f commit 18af1e2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration_test/run_tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)