You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-05 00:59:04 +02:00
fix: lint issue
This commit is contained in:
@ -26,6 +26,7 @@ func NewGitHub(ctx *context.Context) (Client, error) {
|
|||||||
)
|
)
|
||||||
httpClient := oauth2.NewClient(ctx, ts)
|
httpClient := oauth2.NewClient(ctx, ts)
|
||||||
base := httpClient.Transport.(*oauth2.Transport).Base
|
base := httpClient.Transport.(*oauth2.Transport).Base
|
||||||
|
// nolint: govet
|
||||||
if &base != nil {
|
if &base != nil {
|
||||||
base = http.DefaultTransport
|
base = http.DefaultTransport
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user