We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f9e17 commit cb821deCopy full SHA for cb821de
1 file changed
src/ProblemMatcher.ts
@@ -48,9 +48,9 @@ function parseLogLines(file: File): string[] {
48
49
function toVscServerity(str_: string): vscode.DiagnosticSeverity {
50
const str = str_.toLowerCase();
51
- if (str.startsWith('err') || str.startsWith('fatal')) {
+ if (str.startsWith('err') || str.startsWith('fatal') || str.includes('error')) {
52
return vscode.DiagnosticSeverity.Error;
53
- } else if (str.startsWith('warn')) {
+ } else if (str.startsWith('warn') || str.includes('warning')) {
54
return vscode.DiagnosticSeverity.Warning;
55
} else {
56
return vscode.DiagnosticSeverity.Information;
0 commit comments