Skip to content

Commit 9d15152

Browse files
committed
lint
1 parent c6aa319 commit 9d15152

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/firestore/src/util/async_observer.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,18 @@ export class AsyncObserver<T> implements Observer<T> {
3636
constructor(private observer: Partial<Observer<T>>) {}
3737

3838
next(value: T): void {
39-
if (this.muted) return;
39+
if (this.muted) {
40+
return;
41+
}
4042
if (this.observer.next) {
4143
this.scheduleEvent(this.observer.next, value);
4244
}
4345
}
4446

4547
error(error: FirestoreError): void {
46-
if (this.muted) return;
48+
if (this.muted) {
49+
return;
50+
}
4751
if (this.observer.error) {
4852
this.scheduleEvent(this.observer.error, error);
4953
} else {

packages/firestore/test/integration/api/database.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ apiDescribe('Database', persistence => {
10961096
expect(snap.data()).to.equal(undefined);
10971097
});
10981098
await storeEvent.assertNoAdditionalEvents();
1099-
unsubscribe()
1099+
unsubscribe();
11001100
});
11011101
});
11021102

0 commit comments

Comments
 (0)