You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-05 00:59:04 +02:00
fix: cast
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
0ef202cb74
commit
d95b7f9adc
@ -25,7 +25,7 @@ func NewGitHub(ctx *context.Context) (Client, error) {
|
||||
&oauth2.Token{AccessToken: ctx.Token},
|
||||
)
|
||||
httpClient := oauth2.NewClient(ctx, ts)
|
||||
httpClient.Transport.(*http.Transport).TLSClientConfig = &tls.Config{
|
||||
httpClient.Transport.(*oauth2.Transport).Base.(*http.Transport).TLSClientConfig = &tls.Config{
|
||||
InsecureSkipVerify: ctx.Config.GitHubURLs.SkipTLSVerify,
|
||||
}
|
||||
client := github.NewClient(httpClient)
|
||||
|
Reference in New Issue
Block a user