lint(lotus-sim): handle error

This commit is contained in:
Steven Allen 2021-06-22 15:06:44 -07:00
parent 87c306fd47
commit 63e2caae81

View File

@ -46,7 +46,7 @@ func NewNode(ctx context.Context, r repo.Repo) (nd *Node, _err error) {
}
defer func() {
if _err != nil {
lr.Close()
_ = lr.Close()
}
}()