Skip to content

Commit 8e0b3bb

Browse files
committed
format
1 parent 070a84a commit 8e0b3bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/firestore/src/util/bundle_builder_impl.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ export class BundleBuilder {
105105
: null;
106106

107107
const neitherHasReadTime: boolean = !docReadTime && origDocReadTime == null;
108-
const docIsNewer: boolean = docReadTime !== undefined && (origDocReadTime == null || origDocReadTime < docReadTime);
108+
const docIsNewer: boolean =
109+
docReadTime !== undefined &&
110+
(origDocReadTime == null || origDocReadTime < docReadTime);
109111
if (neitherHasReadTime || docIsNewer) {
110112
// Store document.
111113
this.documents.set(docBundleData.documentPath, {
@@ -118,7 +120,7 @@ export class BundleBuilder {
118120
exists: docBundleData.documentExists
119121
}
120122
});
121-
}
123+
}
122124
if (docReadTime && docReadTime > this.latestReadTime) {
123125
this.latestReadTime = docReadTime;
124126
}

0 commit comments

Comments
 (0)