mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
Fixed clear()
This commit is contained in:
parent
a264906a94
commit
e38dedb33f
@ -73,7 +73,7 @@ module.exports = class SQLStateStore {
|
||||
|
||||
clear() {
|
||||
return this.dbPromise.then(db =>
|
||||
getOne(db, `DROP TABLE ${this.tableName}`)
|
||||
getOne(db, `DELETE FROM ${this.tableName}`)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user