Skip to content

Commit

Permalink
fix: silence staticcheck warning for fx.Extract usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo committed Dec 9, 2022
1 parent 5df6049 commit 35c1fbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func NewNode(ctx context.Context, cfg *BuildCfg) (*IpfsNode, error) {
return nil, fmt.Errorf("building fx opts: %w", err)
}
}
//nolint:staticcheck // https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
opts = append(opts, fx.Extract(n))

app := fx.New(opts...)
Expand Down

0 comments on commit 35c1fbb

Please sign in to comment.