Skip to content

Commit

Permalink
lint(lotus-sim): handle error
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jun 22, 2021
1 parent 87c306f commit 63e2caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-sim/simulation/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}()

Expand Down

0 comments on commit 63e2caa

Please sign in to comment.