fix: incorrect data shown for default and example option keys
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 08:26:11 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M internal/search/search.go → internal/search/search.go
@@ -69,6 +69,7 @@ if err != nil { return nil, errors.WithMessage(err, "could not create struct decoder") } for mv := range dec.Stream() { + opt = options.NixOption{} err := ms.Decode(mv.Value) // stores in opt if err != nil {