Skip to content

Commit

Permalink
Fix the Sushi problem matcher
Browse files Browse the repository at this point in the history
Fixes #12
  • Loading branch information
qligier committed Sep 9, 2024
1 parent bb51984 commit 269f137
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sushi-problem-matcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"owner": "sushi-error",
"pattern": [
{
"regexp": "^Sushi: (?>\\x1B\\[[0-9;]*m)*(error)(?>\\x1B\\[[0-9;]*m)* (.+)\\s+\\(\\d{2}:\\d{2}\\.\\d{3}\\)$",
"regexp": "^Sushi: (?>\\x1B\\[[0-9;]*m)*(error)(?>\\x1B\\[[0-9;]*m)* (.+)\\s+\\([^)]+\\)$",
"severity": 1,
"message": 2
},
{
"regexp": "^Sushi: File: (.+)\\s+\\(\\d{2}:\\d{2}\\.\\d{3}\\)$",
"regexp": "^Sushi: File: (.+)\\s+\\([^)]+\\)$",
"file": 1
},
{
"regexp": "^Sushi: Line: (\\d+)( - (\\d+))?\\s+\\(\\d{2}:\\d{2}\\.\\d{3}\\)$",
"regexp": "^Sushi: Line: (\\d+)( - (\\d+))?\\s+\\([^)]+\\)$",
"line": 1
}
]
Expand All @@ -23,15 +23,15 @@
"severity": "warning",
"pattern": [
{
"regexp": "^Sushi: (?>\\x1B\\[[0-9;]*m)*(warn\\s)(?>\\x1B\\[[0-9;]*m)* (.+)\\s+\\(\\d{2}:\\d{2}\\.\\d{3}\\)$",
"regexp": "^Sushi: (?>\\x1B\\[[0-9;]*m)*(warn\\s)(?>\\x1B\\[[0-9;]*m)* (.+)\\s+\\([^)]+\\)$",
"message": 2
},
{
"regexp": "^Sushi: File: (.+)\\s+\\(\\d{2}:\\d{2}\\.\\d{3}\\)$",
"regexp": "^Sushi: File: (.+)\\s+\\([^)]+\\)$",
"file": 1
},
{
"regexp": "^Sushi: Line: (\\d+)( - (\\d+))?\\s+\\(\\d{2}:\\d{2}\\.\\d{3}\\)$",
"regexp": "^Sushi: Line: (\\d+)( - (\\d+))?\\s+\\([^)]+\\)$",
"line": 1
}
]
Expand Down

0 comments on commit 269f137

Please sign in to comment.