Skip to content

Commit a6fe446

Browse files
committed
Pretty
1 parent e0520e6 commit a6fe446

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/firestore/src/remote/persistent_stream.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,11 @@ export abstract class PersistentStream<
535535
});
536536
this.stream.onMessage((msg: ReceiveType) => {
537537
dispatchIfNotClosed(() => {
538-
return ++this.responseCount === 1 ? this.onFirst(msg) : this.onNext(msg);
538+
if (++this.responseCount === 1) {
539+
return this.onFirst(msg);
540+
} else {
541+
return this.onNext(msg);
542+
}
539543
});
540544
});
541545
}

0 commit comments

Comments
 (0)