You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Cli: Fix last change sometimes lost when not in TUI mode (#13090)
This commit is contained in:
@@ -16,6 +16,12 @@ class DatabaseDriverNode {
|
||||
});
|
||||
}
|
||||
|
||||
close() {
|
||||
return new Promise(resolve => {
|
||||
this.db_.close(() => resolve());
|
||||
});
|
||||
}
|
||||
|
||||
sqliteErrorToJsError(error, sql = null, params = null) {
|
||||
const msg = [error.toString()];
|
||||
if (sql) msg.push(sql);
|
||||
|
||||
Reference in New Issue
Block a user