fixes(eslint): removed trailing space
This commit is contained in:
parent
4627f37574
commit
e5f186af04
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ export const useDatabase = fp<FastifyPluginAsync>(async function(
|
||||||
if (dbAdded) { return; }
|
if (dbAdded) { return; }
|
||||||
dbAdded = true;
|
dbAdded = true;
|
||||||
const path = process.env.DATABASE_DIR;
|
const path = process.env.DATABASE_DIR;
|
||||||
if (isNullish(path)) {
|
if (isNullish(path)) {
|
||||||
f.log.fatal('env `DATABASE_DIR` not defined');
|
f.log.fatal('env `DATABASE_DIR` not defined');
|
||||||
throw 'env `DATABASE_DIR` not defined';
|
throw 'env `DATABASE_DIR` not defined';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue