mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-10-30 02:37:36 +00:00
Disable lint regex rule for log parse
This commit is contained in:
parent
bbcea66905
commit
10f771f890
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue