Skip to content
Permalink
Browse files

fix: nil transport

  • Loading branch information...
caarlos0 committed Jan 18, 2019
1 parent 6a87444 commit 55169a8c60b214144c8d882c271919528d84931c
Showing with 1 addition and 1 deletion.
  1. +1 −1 internal/client/github.go
@@ -26,7 +26,7 @@ func NewGitHub(ctx *context.Context) (Client, error) {
)
httpClient := oauth2.NewClient(ctx, ts)
base := httpClient.Transport.(*oauth2.Transport).Base
if base != nil {
if &base != nil {
base = http.DefaultTransport
}
base.(*http.Transport).TLSClientConfig = &tls.Config{

0 comments on commit 55169a8

Please sign in to comment.
You can’t perform that action at this time.