Fixes #48711: TypeScript build task output not populating error list with --pretty on (#48744)

This commit is contained in:
Dirk Bäumer
2018-04-26 22:46:58 +02:00
committed by Matt Bierner
parent e89b895f41
commit e329bb6bb0

View File

@@ -541,12 +541,13 @@
"problemPatterns": [
{
"name": "tsc",
"regexp": "^([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
"regexp": "^([^\\s].*)[\\(:](\\d+)[,:](\\d+)(?:\\):\\s+|\\s+-\\s+)(error|warning|info)\\s+(TS\\d+)\\s*:\\s*(.*)$",
"file": 1,
"location": 2,
"severity": 3,
"code": 4,
"message": 5
"line": 2,
"column": 3,
"severity": 4,
"code": 5,
"message": 6
}
],
"problemMatchers": [