Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pano9000 committed Jan 13, 2025
1 parent 903988f commit bcbf4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/api/backend_log.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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");
Expand Down

0 comments on commit bcbf4f4

Please sign in to comment.