Skip to content

Commit

Permalink
Disable lint regex rule for log parse
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Oct 13, 2024
1 parent bbcea66 commit 10f771f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/logs/logs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class LogsService {
}

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();
}

Expand Down

0 comments on commit 10f771f

Please sign in to comment.