From 0673c09469d1038c4ba6288a4eafe01c2b7657b2 Mon Sep 17 00:00:00 2001 From: Stephan Renatus Date: Mon, 6 Jan 2025 12:17:42 +0100 Subject: [PATCH] hints: remove tail anchor for multiple-default-rules hint (#1314) --- pkg/hints/hints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hints/hints.go b/pkg/hints/hints.go index 4c410f65..1d2c45a7 100644 --- a/pkg/hints/hints.go +++ b/pkg/hints/hints.go @@ -53,7 +53,7 @@ var patterns = map[string]*regexp.Regexp{ `rego-parse-error/unexpected-right-curly-token`: regexp.MustCompile(`^rego_parse_error: unexpected } token`), `rego-parse-error/unexpected-name-keyword`: regexp.MustCompile(`^rego_parse_error: unexpected .* keyword:`), `rego-parse-error/unexpected-string-token`: regexp.MustCompile(`^rego_parse_error: unexpected string token:`), - `rego-type-error/multiple-default-rules-name-found`: regexp.MustCompile(`^rego_type_error: multiple default rules .* found$`), + `rego-type-error/multiple-default-rules-name-found`: regexp.MustCompile(`^rego_type_error: multiple default rules .* found`), } func unwrapToFP(e error) error {