mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
1931500342
commit
eb1a122199
3
Makefile
3
Makefile
@ -34,7 +34,8 @@ lint:
|
||||
# TODO: fix tests issues
|
||||
# TODO: fix lll issues
|
||||
# TODO: fix funlen issues
|
||||
./bin/golangci-lint run --tests=false --enable-all --disable=lll --disable funlen ./...
|
||||
# TODO: fix godox issues
|
||||
./bin/golangci-lint run --tests=false --enable-all --disable=lll --disable funlen --disable godox ./...
|
||||
./bin/misspell -error **/*
|
||||
.PHONY: lint
|
||||
|
||||
|
@ -106,7 +106,6 @@ func CheckConfig(ctx *context.Context, put *config.Put, kind string) error {
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
func misconfigured(kind string, upload *config.Put, reason string) error {
|
||||
|
@ -76,7 +76,6 @@ func (Pipe) Publish(ctx *context.Context) error {
|
||||
err := json.NewDecoder(res.Body).Decode(&r)
|
||||
return err
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
// An ErrorResponse reports one or more errors caused by an API request.
|
||||
|
@ -44,5 +44,4 @@ func (Pipe) Publish(ctx *context.Context) error {
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user