From ba5d10336388767c4af6a84fac854cc501c0a35f Mon Sep 17 00:00:00 2001 From: Becojo Date: Thu, 15 Feb 2024 13:38:27 -0500 Subject: [PATCH] fix empty rule message --- cmd/semsearch.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/semsearch.go b/cmd/semsearch.go index f047d41..6dc979e 100644 --- a/cmd/semsearch.go +++ b/cmd/semsearch.go @@ -96,7 +96,6 @@ type State struct { Paths []string Configs []string Format string - Message string Debug bool Export bool Evals []string @@ -233,7 +232,7 @@ func (s *State) Build(args []string) { FocusMetavariable: metavar(value), }) case "message": - s.Message = value + s.Rule.Message = value case "language": s.Languages = append(s.Languages, value) case "config":