Remove leading whitespace at beginning of diagnostics

This commit is contained in:
Pragmatic Software 2015-01-21 01:05:49 -08:00
parent d0a007853c
commit 48bd04ba31
1 changed files with 1 additions and 0 deletions

View File

@ -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/;
}
}