fix: silence staticcheck warning for fx.Extract usage

See https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
This commit is contained in:
Jorropo 2022-12-07 15:24:30 +01:00
parent ea9aaadb52
commit 353aed02fc

View File

@ -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...)