Skip to content

Commit 2de5738

Browse files
Copilotdmichon-msft
andcommitted
fix: update problem matcher regexes in rush-vscode-extension package.json to make column optional
Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com> Agent-Logs-Url: https://github.com/microsoft/rushstack/sessions/8b2eb275-c191-44e9-8d69-dd1c166c7985
1 parent 2e8acaa commit 2de5738

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vscode-extensions/rush-vscode-extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
],
229229
"applyTo": "allDocuments",
230230
"pattern": {
231-
"regexp": "^\\[[^\\]]+\\]\\s+(Error|Warning):\\s+([^:]+):(\\d+):(\\d+)\\s+-\\s+(?:\\(([^)]+)\\)\\s+)?(.*)$",
231+
"regexp": "^\\[[^\\]]+\\]\\s+(Error|Warning):\\s+([^:]+):(\\d+)(?::(\\d+))?\\s+-\\s+(?:\\(([^)]+)\\)\\s+)?(.*)$",
232232
"severity": 1,
233233
"file": 2,
234234
"line": 3,
@@ -247,7 +247,7 @@
247247
],
248248
"applyTo": "allDocuments",
249249
"pattern": {
250-
"regexp": "^\\[[^\\]]+\\]\\s+(Error|Warning):\\s+([^\\(]+)\\((\\d+),(\\d+)\\)\\s+-\\s+(?:\\(([^)]+)\\)\\s+)?(.*)$",
250+
"regexp": "^\\[[^\\]]+\\]\\s+(Error|Warning):\\s+([^\\(]+)\\((\\d+)(?:,(\\d+))?\\)\\s+-\\s+(?:\\(([^)]+)\\)\\s+)?(.*)$",
251251
"severity": 1,
252252
"file": 2,
253253
"line": 3,

0 commit comments

Comments
 (0)