forgot to remove sth from filename

This commit is contained in:
Erik 2023-03-23 21:31:09 +02:00
parent ac07b5089d
commit 07415b9298
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -118,7 +118,7 @@ class MasterLogger {
if (!type)
throw new Error('Missing file type');
const fileName = `${moment(date).format('YYYY-MM-DD')}-${type}-${date}.log`;
const fileName = `${moment(date).format('YYYY-MM-DD')}-${type}.log`;
const filePath = path.join(this.directory, fileName);
if (!fs.existsSync(filePath))