Skip to content

Commit 0673c09

Browse files
authored
hints: remove tail anchor for multiple-default-rules hint (#1314)
1 parent 748c2e8 commit 0673c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/hints/hints.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var patterns = map[string]*regexp.Regexp{
5353
`rego-parse-error/unexpected-right-curly-token`: regexp.MustCompile(`^rego_parse_error: unexpected } token`),
5454
`rego-parse-error/unexpected-name-keyword`: regexp.MustCompile(`^rego_parse_error: unexpected .* keyword:`),
5555
`rego-parse-error/unexpected-string-token`: regexp.MustCompile(`^rego_parse_error: unexpected string token:`),
56-
`rego-type-error/multiple-default-rules-name-found`: regexp.MustCompile(`^rego_type_error: multiple default rules .* found$`),
56+
`rego-type-error/multiple-default-rules-name-found`: regexp.MustCompile(`^rego_type_error: multiple default rules .* found`),
5757
}
5858

5959
func unwrapToFP(e error) error {

0 commit comments

Comments
 (0)