mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
syncification
This commit is contained in:
@@ -4,7 +4,7 @@ const fs = require('fs');
|
||||
const dateUtils = require('../../services/date_utils');
|
||||
const {LOG_DIR} = require('../../services/data_dir.js');
|
||||
|
||||
async function getBackendLog() {
|
||||
function getBackendLog() {
|
||||
const file = `${LOG_DIR}/trilium-${dateUtils.localNowDate()}.log`;
|
||||
|
||||
return fs.readFileSync(file, 'utf8');
|
||||
@@ -12,4 +12,4 @@ async function getBackendLog() {
|
||||
|
||||
module.exports = {
|
||||
getBackendLog
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user