Skip to content

Commit 1438df0

Browse files
committed
final self review.
1 parent 692dfa3 commit 1438df0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/firestore/src/api/database.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ export class DocumentReference implements firestore.DocumentReference {
10531053
}
10541054

10551055
delete(): Promise<void> {
1056-
validateExactNumberOfArgs('FirebaseFirestore.delete', arguments, 0);
1056+
validateExactNumberOfArgs('DocumentReference.delete', arguments, 0);
10571057
return this._firestoreClient.write([
10581058
new DeleteMutation(this._key, Precondition.NONE)
10591059
]);

packages/firestore/src/util/async_queue.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class AsyncQueue {
188188
// The last promise in the queue.
189189
private tail: Promise<unknown> = Promise.resolve();
190190

191-
// Is this AsyncQueue being shutting down? Once it is set to true, it will not
191+
// Is this AsyncQueue being shut down? Once it is set to true, it will not
192192
// be changed again.
193193
private _isShuttingDown: boolean = false;
194194

@@ -203,7 +203,7 @@ export class AsyncQueue {
203203
// assertion sanity-checks.
204204
private operationInProgress = false;
205205

206-
// Is this AsyncQueue being shutting down? If true, this instance will not enqueue
206+
// Is this AsyncQueue being shut down? If true, this instance will not enqueue
207207
// any new operations, Promises from enqueue requests will not resolve.
208208
get isShuttingDown(): boolean {
209209
return this._isShuttingDown;

0 commit comments

Comments
 (0)