Skip to content

Commit 4650256

Browse files
Prettier
1 parent 3b42415 commit 4650256

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/firestore/src/local/simple_db.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ export class SimpleDbTransaction {
125125
// If the browser supports V3 indexedDb, invoke commit() explicitly to
126126
// speed up index DB processing if the event loop remains blocks.
127127
const maybeV3IndexedDb = this.transaction as any;
128-
if (typeof maybeV3IndexedDb.commit === "function") {
129-
throw new Error("COMMITTED");
128+
if (typeof maybeV3IndexedDb.commit === 'function') {
129+
throw new Error('COMMITTED');
130130
maybeV3IndexedDb.commit();
131131
}
132132
}
@@ -410,7 +410,7 @@ export class SimpleDb {
410410
objectStores
411411
);
412412
const transactionFnResult = transactionFn(transaction)
413-
.next(result =>{
413+
.next(result => {
414414
transaction.maybeCommit();
415415
return result;
416416
})

0 commit comments

Comments
 (0)