From 573a6f147652d5651989959ac767702d2d5eec7d Mon Sep 17 00:00:00 2001 From: ale5000 <15793015+ale5000-git@users.noreply.github.com> Date: Sat, 23 Mar 2024 00:24:27 +0100 Subject: [PATCH] Correctly handle optional spaces at the start of the error message in the GitHub workflow (#2251) --- .github/matchers/gradle-build-matcher.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/matchers/gradle-build-matcher.json b/.github/matchers/gradle-build-matcher.json index e22f22ea..df09e4f4 100644 --- a/.github/matchers/gradle-build-matcher.json +++ b/.github/matchers/gradle-build-matcher.json @@ -4,7 +4,7 @@ "owner": "gradle-build-matcher", "pattern": [ { - "regexp": "^([^:]+):(\\d+):\\s(error|Error):\\s(.+)$", + "regexp": "^\\s*([^:]+):(\\d+):\\s(error|Error):\\s(.+)$", "file": 1, "line": 2, "severity": 3,