移除日志输出
parent
7c5969e580
commit
0fc1de9f29
|
@ -25,13 +25,13 @@ export const init = (lxDataPath: string): boolean | null => {
|
||||||
db = new Database(databasePath, {
|
db = new Database(databasePath, {
|
||||||
fileMustExist: true,
|
fileMustExist: true,
|
||||||
nativeBinding,
|
nativeBinding,
|
||||||
verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined,
|
// verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined,
|
||||||
})
|
})
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
db = new Database(databasePath, {
|
db = new Database(databasePath, {
|
||||||
nativeBinding,
|
nativeBinding,
|
||||||
verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined,
|
// verbose: process.env.NODE_ENV !== 'production' ? console.log : undefined,
|
||||||
})
|
})
|
||||||
initTables(db)
|
initTables(db)
|
||||||
dbFileExists = false
|
dbFileExists = false
|
||||||
|
|
Loading…
Reference in New Issue