1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

fix: lint issue

This commit is contained in:
Carlos Alexandro Becker 2019-04-09 08:54:16 -03:00
parent 94aca802af
commit d24c342ca0
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -26,6 +26,7 @@ func NewGitHub(ctx *context.Context) (Client, error) {
)
httpClient := oauth2.NewClient(ctx, ts)
base := httpClient.Transport.(*oauth2.Transport).Base
// nolint: govet
if &base != nil {
base = http.DefaultTransport
}