Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit fe18a81

Browse files
committed
chore: remove unused field
1 parent 027cead commit fe18a81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class LevelDatastore extends Adapter {
3232
super()
3333
this.path = path
3434
this.opts = opts
35-
this.isCreated = false
35+
3636
if (opts && opts.db) {
3737
this.database = opts.db
3838
delete opts.db
@@ -68,7 +68,6 @@ class LevelDatastore extends Adapter {
6868
await this.db.open()
6969
} else {
7070
this.db = await this._initDb()
71-
this.isCreated = true
7271
}
7372
} catch (err) {
7473
throw Errors.dbOpenFailedError(err)

0 commit comments

Comments
 (0)