Skip to content

Commit

Permalink
Updated matchers to account for "./" file prefixes (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: Joakim Sørensen <[email protected]>
  • Loading branch information
fearphage and ludeeus authored Nov 14, 2021
1 parent 7606914 commit a108013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/problem-matcher-gcc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"owner": "shellcheck-gcc",
"pattern": [
{
"regexp": "^(.+):(\\d+):(\\d+):\\s(note|warning|error):\\s(.*)\\s\\[(SC\\d+)\\]$",
"regexp": "^\\.\\/(.+):(\\d+):(\\d+):\\s(note|warning|error):\\s(.*)\\s\\[(SC\\d+)\\]$",
"file": 1,
"line": 2,
"column": 3,
Expand Down
2 changes: 1 addition & 1 deletion .github/problem-matcher-tty.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"owner": "shellcheck-tty",
"pattern": [
{
"regexp": "^In\\s(.+)\\sline\\s(\\d+):$",
"regexp": "^In\\s\\.\\/(.+)\\sline\\s(\\d+):$",
"file": 1,
"line": 2
},
Expand Down

0 comments on commit a108013

Please sign in to comment.