fix: silence staticcheck warning for fx.Extract usage
See https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
Jorropo committed
Dec 7, 2022 at 15:24 UTC
a3e09af20398af7e3deab12f62ad351386b38946
1 file changed
+1
core/builder.go
+1
@@ -84,6 +84,7 @@ func NewNode(ctx context.Context, cfg *BuildCfg) (*IpfsNode, error) {
84
return nil, fmt.Errorf("building fx opts: %w", err)
85
}
86
}
87
+ //nolint:staticcheck // https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
88
opts = append(opts, fx.Extract(n))
89
90
app := fx.New(opts...)