diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-07-09 16:29:52 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-07-09 16:29:52 -0700 |
commit | 6e986bf1f5957be12ad610c627060f4d86eca98c (patch) | |
tree | 5ece2dfcffcaee394eb2517e664190a651150b8a /ext/bg/js/database.js | |
parent | b3984ccd54340195fc352033f61d33e4b5f492ea (diff) |
cleanup
Diffstat (limited to 'ext/bg/js/database.js')
-rw-r--r-- | ext/bg/js/database.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js index 400ebd6a..69a3bbdd 100644 --- a/ext/bg/js/database.js +++ b/ext/bg/js/database.js @@ -35,7 +35,7 @@ class Database { } prepare() { - if (!this.db) { + if (this.db) { return Promise.reject('database already initialized'); } |