mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-29 19:13:59 +02:00
Desktop: Fixed certain plugins that were using the sqlite3 database
This commit is contained in:
parent
f95ccd6700
commit
a43ce33adf
@ -53,7 +53,7 @@
|
||||
// The sqlite3 is actually part of the lib package so we need to do
|
||||
// something convoluted to get it working.
|
||||
if (modulePath === 'sqlite3') {
|
||||
return require('../../node_modules/@joplin/lib/node_modules/sqlite3/sqlite3.js');
|
||||
return require('../../node_modules/@joplin/lib/node_modules/sqlite3/lib/sqlite3.js');
|
||||
}
|
||||
|
||||
if (['fs-extra'].includes(modulePath)) return require(modulePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user