Skip to content

Commit

Permalink
hints: remove tail anchor for multiple-default-rules hint (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
srenatus authored Jan 6, 2025
1 parent 748c2e8 commit 0673c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hints/hints.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0673c09

Please sign in to comment.