Skip to content

Commit a3e09af

Browse files
committed
fix: silence staticcheck warning for fx.Extract usage
See #9423 (comment)
1 parent f08b439 commit a3e09af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/builder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func NewNode(ctx context.Context, cfg *BuildCfg) (*IpfsNode, error) {
8484
return nil, fmt.Errorf("building fx opts: %w", err)
8585
}
8686
}
87+
//nolint:staticcheck // https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
8788
opts = append(opts, fx.Extract(n))
8889

8990
app := fx.New(opts...)

0 commit comments

Comments
 (0)