chore: remove unused files (#1966)

* chore: removed unused files

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* chore: remove cypress deprecated config option

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* chore: remove deprecated log file

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
Ludovic Ortega
2025-10-06 21:50:38 +03:00
committed by GitHub
parent 32ae099552
commit 166e2404b2
7 changed files with 0 additions and 70 deletions

View File

@@ -1,18 +1,7 @@
import fs from 'fs';
import path from 'path';
import * as winston from 'winston';
import 'winston-daily-rotate-file';
// Migrate away from old log
const OLD_LOG_FILE = path.join(__dirname, '../config/logs/overseerr.log');
if (fs.existsSync(OLD_LOG_FILE)) {
const file = fs.lstatSync(OLD_LOG_FILE);
if (!file.isSymbolicLink()) {
fs.unlinkSync(OLD_LOG_FILE);
}
}
const hformat = winston.format.printf(
({ level, label, message, timestamp, ...metadata }) => {
let msg = `${timestamp} [${level}]${