From bcbf4f40900814f929da140507c510b425d42015 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sat, 11 Jan 2025 14:04:44 +0100 Subject: [PATCH] chore: fix formatting --- src/routes/api/backend_log.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/api/backend_log.ts b/src/routes/api/backend_log.ts index 4c45877fe..2f056158d 100644 --- a/src/routes/api/backend_log.ts +++ b/src/routes/api/backend_log.ts @@ -1,6 +1,6 @@ "use strict"; -import { readFile } from "fs/promises"; +import { readFile } from "fs/promises"; import { join } from "path"; import dateUtils from "../../services/date_utils.js"; import dataDir from "../../services/data_dir.js"; @@ -10,7 +10,7 @@ import { t } from "i18next"; const { LOG_DIR } = dataDir; async function getBackendLog() { - const fileName = `trilium-${dateUtils.localNowDate()}.log` + const fileName = `trilium-${dateUtils.localNowDate()}.log`; try { const file = join(LOG_DIR, fileName); return await readFile(file, "utf8");