Fix linting issues
All checks were successful
Test / build (push) Successful in 8s

This commit is contained in:
Ethan Lane 2024-06-29 16:27:10 +01:00
parent 591bd8b17d
commit b94b49a416

View file

@ -29,11 +29,11 @@ export default class AppLogger {
const logDir = path.join(process.env.DATA_DIR, "logs");
logger.add(new DailyRotateFile({
filename: 'bot-%DATE%.log',
filename: "bot-%DATE%.log",
dirname: logDir,
datePattern: 'YYYY-MM-DD-HH',
maxSize: '20m',
maxFiles: '14d',
datePattern: "YYYY-MM-DD-HH",
maxSize: "20m",
maxFiles: "14d",
}));
}