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:
parent
94aca802af
commit
d24c342ca0
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user