From 6692c453ac84b5562fb65936768ca02b36aff873 Mon Sep 17 00:00:00 2001 From: Daniel Milde Date: Sat, 10 Feb 2024 00:10:07 +0100 Subject: [PATCH] fix: check err --- pkg/analyze/storage.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/analyze/storage.go b/pkg/analyze/storage.go index 807172225..e0f61ad18 100644 --- a/pkg/analyze/storage.go +++ b/pkg/analyze/storage.go @@ -68,8 +68,7 @@ func (s *Storage) StoreDir(dir fs.Item) error { return errors.Wrap(err, "encoding dir value") } - txn.Set([]byte(dir.GetPath()), b.Bytes()) - return nil + return txn.Set([]byte(dir.GetPath()), b.Bytes()) }) }