Don't require relative paths to start with ./ or ../ (#98)

This commit is contained in:
Dominik Honnef 2021-12-17 16:47:05 +01:00 committed by GitHub
parent 3e9d5483e6
commit fdeec47002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"owner": "go",
"pattern": [
{
"regexp": "^\\s*(\\.{0,2}[\\/\\\\].+\\.go):(?:(\\d+):(\\d+):)? (.*)",
"regexp": "^\\s*(.+\\.go):(?:(\\d+):(\\d+):)? (.*)",
"file": 1,
"line": 2,
"column": 3,
@ -13,4 +13,4 @@
]
}
]
}
}