diff options
Diffstat (limited to 'internal/search')
-rw-r--r-- | internal/search/search.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/search/search.go b/internal/search/search.go index 83a8365..b7640fc 100644 --- a/internal/search/search.go +++ b/internal/search/search.go @@ -69,6 +69,7 @@ func New[T options.NixOption](kind string) (*Index[T], error) { 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 { |