You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-15 01:34:21 +02:00
fix: lint
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
55169a8c60
commit
f07bc40251
@ -29,6 +29,7 @@ func NewGitHub(ctx *context.Context) (Client, error) {
|
|||||||
if &base != nil {
|
if &base != nil {
|
||||||
base = http.DefaultTransport
|
base = http.DefaultTransport
|
||||||
}
|
}
|
||||||
|
// nolint: gosec
|
||||||
base.(*http.Transport).TLSClientConfig = &tls.Config{
|
base.(*http.Transport).TLSClientConfig = &tls.Config{
|
||||||
InsecureSkipVerify: ctx.Config.GitHubURLs.SkipTLSVerify,
|
InsecureSkipVerify: ctx.Config.GitHubURLs.SkipTLSVerify,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user