You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Desktop: Upgrade Electron from v10 to v14
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
const sqlite3 = require('sqlite3').verbose();
|
||||
const shim = require('./shim').default;
|
||||
const Promise = require('promise');
|
||||
|
||||
class DatabaseDriverNode {
|
||||
open(options) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const sqlite3 = shim.nodeSqlite().verbose();
|
||||
|
||||
this.db_ = new sqlite3.Database(options.name, sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE, error => {
|
||||
if (error) {
|
||||
reject(error);
|
||||
|
||||
Reference in New Issue
Block a user