mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-27 13:12:42 +01:00
Remove leading whitespace at beginning of diagnostics
This commit is contained in:
parent
d0a007853c
commit
48bd04ba31
@ -47,6 +47,7 @@ sub postprocess_output {
|
||||
$self->{output} =~ s/"$self->{sourcefile}", line \d+:\s*//g;
|
||||
$self->{output} =~ s/Error:\s+\[/Error: [/g;
|
||||
$self->{output} =~ s/Warning:\s+\[/Warning: [/g;
|
||||
$self->{output} =~ s/^\[\s+(Warning|Error)/[$1/;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user