Apply feedbacks

This commit is contained in:
Alexandre Bodin 2022-03-28 19:24:02 +02:00
parent 6c1f044346
commit c52f42c80d
2 changed files with 3 additions and 3 deletions

View File

@ -31,12 +31,12 @@ const clientMap = {
const getSqlitePackageName = () => { const getSqlitePackageName = () => {
// NOTE: allow forcing the package to use (mostly used for testing purposes) // NOTE: allow forcing the package to use (mostly used for testing purposes)
if (typeof process.env.SQLITE_PKG !== undefined) { if (typeof process.env.SQLITE_PKG !== 'undefined') {
return process.env.SQLITE_PKG; return process.env.SQLITE_PKG;
} }
// NOTE: this tries to find the best sqlite module possible to use // NOTE: this tries to find the best sqlite module possible to use
// while keeping retro compatibiity // while keeping retro compatibility
return ( return (
trySqlitePackage('better-sqlite3') || trySqlitePackage('better-sqlite3') ||
trySqlitePackage('@vscode/sqlite3') || trySqlitePackage('@vscode/sqlite3') ||

View File

@ -34,7 +34,7 @@
"date-fns": "2.22.1", "date-fns": "2.22.1",
"debug": "4.3.1", "debug": "4.3.1",
"fs-extra": "10.0.0", "fs-extra": "10.0.0",
"knex": "^1.0.4", "knex": "1.0.4",
"lodash": "4.17.21", "lodash": "4.17.21",
"umzug": "2.3.0" "umzug": "2.3.0"
}, },