Skip to content

Commit 63dbff7

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent 03aaab7 commit 63dbff7

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

packages/firestore/src/local/indexeddb_schema.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,10 @@ export class SchemaConverter implements SimpleDbSchemaConverter {
273273
.store<DbDocumentMutationKey, DbDocumentMutation>(
274274
DbDocumentMutation.store
275275
)
276-
.iterate(
277-
{ keysOnly: true },
278-
([userID, encodedPath, batchId], _) => {
279-
const path = decode(encodedPath);
280-
return addEntry(path.popLast());
281-
}
282-
);
276+
.iterate({ keysOnly: true }, ([userID, encodedPath, batchId], _) => {
277+
const path = decode(encodedPath);
278+
return addEntry(path.popLast());
279+
});
283280
});
284281
}
285282
}

packages/firestore/src/local/memory_mutation_queue.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ export class MemoryMutationQueue implements MutationQueue {
5858
private readonly referenceDelegate: ReferenceDelegate
5959
) {}
6060

61-
checkEmpty(
62-
transaction: PersistenceTransaction
63-
): PersistencePromise<boolean> {
61+
checkEmpty(transaction: PersistenceTransaction): PersistencePromise<boolean> {
6462
return PersistencePromise.resolve(this.mutationQueue.length === 0);
6563
}
6664

0 commit comments

Comments
 (0)