Only match GCC warnings from ESPHome source files in CI (#2756)

This commit is contained in:
Oxan van Leeuwen 2021-11-25 21:36:42 +01:00 committed by GitHub
parent b5f660398c
commit 5e631bc6ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
"severity": "error",
"pattern": [
{
"regexp": "^(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"regexp": "^src/(.*):(\\d+):(\\d+):\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,