1
0
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:
Carlos Alexandro Becker 2019-09-23 18:15:57 -03:00
parent 1931500342
commit eb1a122199
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
4 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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 {

View File

@ -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.

View File

@ -44,5 +44,4 @@ func (Pipe) Publish(ctx *context.Context) error {
}
return nil
})
}