Skip to content

Commit

Permalink
fix: check err
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Feb 9, 2024
1 parent 57f60a3 commit 6692c45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/analyze/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ func (s *Storage) StoreDir(dir fs.Item) error {
return errors.Wrap(err, "encoding dir value")
}

Check warning on line 69 in pkg/analyze/storage.go

View check run for this annotation

Codecov / codecov/patch

pkg/analyze/storage.go#L68-L69

Added lines #L68 - L69 were not covered by tests

txn.Set([]byte(dir.GetPath()), b.Bytes())
return nil
return txn.Set([]byte(dir.GetPath()), b.Bytes())
})
}

Expand Down

0 comments on commit 6692c45

Please sign in to comment.