mirror of
https://github.com/strapi/strapi.git
synced 2025-09-03 13:50:38 +00:00
Apply feedbacks
This commit is contained in:
parent
6c1f044346
commit
c52f42c80d
@ -31,12 +31,12 @@ const clientMap = {
|
||||
|
||||
const getSqlitePackageName = () => {
|
||||
// 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;
|
||||
}
|
||||
|
||||
// NOTE: this tries to find the best sqlite module possible to use
|
||||
// while keeping retro compatibiity
|
||||
// while keeping retro compatibility
|
||||
return (
|
||||
trySqlitePackage('better-sqlite3') ||
|
||||
trySqlitePackage('@vscode/sqlite3') ||
|
||||
|
@ -34,7 +34,7 @@
|
||||
"date-fns": "2.22.1",
|
||||
"debug": "4.3.1",
|
||||
"fs-extra": "10.0.0",
|
||||
"knex": "^1.0.4",
|
||||
"knex": "1.0.4",
|
||||
"lodash": "4.17.21",
|
||||
"umzug": "2.3.0"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user