Skip to content

Commit 91ce3e2

Browse files
Lint
1 parent 3c0b3ee commit 91ce3e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/firestore/src/local/indexeddb_mutation_batch_impl.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ export function removeMutationBatch(
8080
* Returns an approximate size for the given document.
8181
*/
8282
export function dbDocumentSize(doc: DbRemoteDocument | null): number {
83-
if (!doc) return 0;
83+
if (!doc) {
84+
return 0;
85+
}
8486

8587
let value: unknown;
8688
if (doc.document) {

0 commit comments

Comments
 (0)