1
0
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:
Laurent Cozic 2023-01-05 10:21:12 +00:00
parent f95ccd6700
commit a43ce33adf

View File

@ -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);