mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-01 14:28:02 +08:00
fix: silence staticcheck warning for fx.Extract usage
See https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
This commit is contained in:
parent
ea9aaadb52
commit
353aed02fc
@ -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...)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user