From 353aed02fc3a7712581f31aaffecbda4a9da763b Mon Sep 17 00:00:00 2001 From: Jorropo Date: Wed, 7 Dec 2022 15:24:30 +0100 Subject: [PATCH] fix: silence staticcheck warning for fx.Extract usage See https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770 --- core/builder.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/builder.go b/core/builder.go index aacb51884bd..7a1d6fef227 100644 --- a/core/builder.go +++ b/core/builder.go @@ -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...)