Disable lint regex rule for log parse

This commit is contained in:
everoddandeven 2024-10-13 21:03:02 +02:00
parent bbcea66905
commit 10f771f890

View file

@ -25,7 +25,7 @@ export class LogsService {
} }
public cleanLog(message: string): string { public cleanLog(message: string): string {
return message.replace(/\u001b\[[0-9;]*m/g, '').replace(/[\r\n]+/g, '\n').trim(); return message.replace(/\u001b\[[0-9;]*m/g, '').replace(/[\r\n]+/g, '\n').trim(); // eslint-disable-line
//return message.replace(/[\r\n]+/g, '\n').trim(); //return message.replace(/[\r\n]+/g, '\n').trim();
} }