lint(lotus-sim): handle error
This commit is contained in:
parent
87c306fd47
commit
63e2caae81
@ -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()
|
||||
}
|
||||
}()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user