File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/firestore/src/util Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments