Skip to content

Commit

Permalink
fix empty rule message
Browse files Browse the repository at this point in the history
  • Loading branch information
becojo committed Feb 15, 2024
1 parent 109e6bc commit ba5d103
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/semsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ type State struct {
Paths []string
Configs []string
Format string
Message string
Debug bool
Export bool
Evals []string
Expand Down Expand Up @@ -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":
Expand Down

0 comments on commit ba5d103

Please sign in to comment.