fixes(eslint): removed trailing space

This commit is contained in:
Maix0 2025-12-17 19:52:17 +01:00
parent 4627f37574
commit e5f186af04

View file

@ -28,7 +28,7 @@ export const useDatabase = fp<FastifyPluginAsync>(async function(
if (dbAdded) { return; }
dbAdded = true;
const path = process.env.DATABASE_DIR;
if (isNullish(path)) {
if (isNullish(path)) {
f.log.fatal('env `DATABASE_DIR` not defined');
throw 'env `DATABASE_DIR` not defined';
}