From a1080136d9ba653cf24828cff2dd53bb142f89b3 Mon Sep 17 00:00:00 2001 From: Phred Lane Date: Sun, 14 Nov 2021 03:10:45 -0600 Subject: [PATCH] Updated matchers to account for "./" file prefixes (#42) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Joakim Sørensen --- .github/problem-matcher-gcc.json | 2 +- .github/problem-matcher-tty.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/problem-matcher-gcc.json b/.github/problem-matcher-gcc.json index cf58ce4..47672e0 100644 --- a/.github/problem-matcher-gcc.json +++ b/.github/problem-matcher-gcc.json @@ -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, diff --git a/.github/problem-matcher-tty.json b/.github/problem-matcher-tty.json index 2df145f..3bdca4d 100644 --- a/.github/problem-matcher-tty.json +++ b/.github/problem-matcher-tty.json @@ -4,7 +4,7 @@ "owner": "shellcheck-tty", "pattern": [ { - "regexp": "^In\\s(.+)\\sline\\s(\\d+):$", + "regexp": "^In\\s\\.\\/(.+)\\sline\\s(\\d+):$", "file": 1, "line": 2 },