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 7, 2022
1 parent b08e0ea commit 8dbabd0
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)
}
}
//lint:ignore SA1019 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 8dbabd0

Please sign in to comment.