mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
refactor auth/media entities to separate files, suppress node:sqlite warning
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
try {
|
||||
/**
|
||||
* Adding this to avoid warnings from node:sqlite being experimental
|
||||
*/
|
||||
const { emitWarning } = process;
|
||||
process.emitWarning = (warning: string, ...args: any[]) => {
|
||||
if (warning.includes("SQLite is an experimental feature")) return;
|
||||
return emitWarning(warning, ...args);
|
||||
};
|
||||
} catch (e) {}
|
||||
|
||||
export {
|
||||
App,
|
||||
createApp,
|
||||
|
||||
Reference in New Issue
Block a user