mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-21 14:10:39 +00:00
chore(deps): update dependency golangci/golangci-lint to v1.56.1 (#56)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
31d672035c
commit
796cbec0da
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
# renovate: datasource=github-releases depName=mvdan/gofumpt
|
||||
GOFUMPT_PACKAGE_VERSION := v0.6.0
|
||||
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||
GOLANGCI_LINT_PACKAGE_VERSION := v1.55.2
|
||||
GOLANGCI_LINT_PACKAGE_VERSION := v1.56.1
|
||||
|
||||
GO ?= go
|
||||
PACKAGES ?= $(shell go list ./...)
|
||||
|
@ -51,7 +51,7 @@ func Test_currFromContext(t *testing.T) {
|
||||
|
||||
options := Options{
|
||||
Name: "dummy",
|
||||
Execute: func(ctx context.Context) error { return nil },
|
||||
Execute: func(_ context.Context) error { return nil },
|
||||
}
|
||||
|
||||
got := New(options)
|
||||
|
@ -117,7 +117,7 @@ func NetworkFromContext(ctx *cli.Context) Network {
|
||||
if contextDialer, ok := proxyDialer.(proxy.ContextDialer); ok {
|
||||
transport.DialContext = contextDialer.DialContext
|
||||
} else {
|
||||
transport.DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
|
||||
transport.DialContext = func(_ context.Context, network, addr string) (net.Conn, error) {
|
||||
return proxyDialer.Dial(network, addr)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user