Skip to content

Commit

Permalink
[feat] Remove fromPath in matcher template
Browse files Browse the repository at this point in the history
  • Loading branch information
olemorud committed Mar 16, 2023
1 parent 08515e6 commit 60e141d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions dist/gcc_matcher.jsontemplate
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
"owner": "gcc-problem-matcher",
"pattern": [
{
"regexp": "^(${{ BASE }}\\/?)(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"fromPath": 1,
"file": 2,
"line": 3,
"column": 4,
"severity": 5,
"message": 6
"regexp": "^${{ BASE }}\\/?(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
Expand Down
13 changes: 6 additions & 7 deletions src/gcc_matcher.jsontemplate
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
"owner": "gcc-problem-matcher",
"pattern": [
{
"regexp": "^(${{ BASE }}\\/?)(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"fromPath": 1,
"file": 2,
"line": 3,
"column": 4,
"severity": 5,
"message": 6
"regexp": "^${{ BASE }}\\/?(.*?):(\\d+):(\\d*):?\\s+(?:fatal\\s+)?(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
Expand Down

0 comments on commit 60e141d

Please sign in to comment.