Skip to content

Commit 6b072ff

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent 9154aad commit 6b072ff

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/firestore/src/local/indexeddb_persistence.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,11 @@ export class IndexedDbPersistence implements Persistence {
132132
assert(!this.started, 'IndexedDbPersistence double-started!');
133133
this.started = true;
134134

135-
return SimpleDb.openOrCreate(this.dbName, DEFAULT_SCHEMA_VERSION, createOrUpgradeDb)
135+
return SimpleDb.openOrCreate(
136+
this.dbName,
137+
DEFAULT_SCHEMA_VERSION,
138+
createOrUpgradeDb
139+
)
136140
.then(db => {
137141
this.simpleDb = db;
138142
})

packages/firestore/test/unit/local/schema_migration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import {
2222
V1_STORES
2323
} from '../../../src/local/indexeddb_schema';
2424
import { Deferred } from '../../../src/util/promise';
25-
import {SimpleDb} from '../../../src/local/simple_db';
25+
import { SimpleDb } from '../../../src/local/simple_db';
2626

2727
const INDEXEDDB_TEST_DATABASE = 'schemaTest';
2828

29-
function initDb(targetVersion) : Promise<IDBDatabase> {
29+
function initDb(targetVersion): Promise<IDBDatabase> {
3030
const deferred = new Deferred<IDBDatabase>();
3131

3232
const request = window.indexedDB.open(INDEXEDDB_TEST_DATABASE, targetVersion);

0 commit comments

Comments
 (0)