Skip to content

Commit 84725bc

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent 1c2552b commit 84725bc

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
@@ -270,13 +270,10 @@ export class SchemaConverter implements SimpleDbSchemaConverter {
270270
.store<DbDocumentMutationKey, DbDocumentMutation>(
271271
DbDocumentMutation.store
272272
)
273-
.iterate(
274-
{ keysOnly: true },
275-
([userID, encodedPath, batchId], _) => {
276-
const path = decode(encodedPath);
277-
return addEntry(path.popLast());
278-
}
279-
);
273+
.iterate({ keysOnly: true }, ([userID, encodedPath, batchId], _) => {
274+
const path = decode(encodedPath);
275+
return addEntry(path.popLast());
276+
});
280277
});
281278
}
282279
}

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)