fix(problem_matcher): correct regex for when pylint content is not available
All checks were successful
Lint (Pull Request) / lint (pull_request) Successful in 29s
All checks were successful
Lint (Pull Request) / lint (pull_request) Successful in 29s
ref: #6
This commit is contained in:
@ -144,8 +144,8 @@ regex = {
|
||||
r'"description":\s*"(?P<description>[^"]+)",\s*'
|
||||
r'"fingerprint":\s*"(?P<fingerprint>[^"]+)",\s*'
|
||||
r'"location":\s*\{\s*"path":\s*"(?P<path>[^"]+)".+?'
|
||||
r'"line[s]?":.+?(?P<line>\d+).*?\}},'
|
||||
r'(?:\s"content":\s\{"body":\s"(?P<body>.+?)")?'
|
||||
r'"line[s]?":.+?(?P<line>\d+).*?\}}'
|
||||
r'(?:,\s"content":\s\{"body":\s"(?P<body>.+?)")?'
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user