Closed chelnak closed 2 years ago
I noticed this when running some tests with the new version.
resolveOptions is not updating the pointer reference. So any changes made locally in the method are not reflected in the caller.
resolveOptions
For example: gh.HTTPClient(nil) causes a nil value for ClientOptions to be passed to the underlying NewHTTPClient.
gh.HTTPClient(nil)
ClientOptions
NewHTTPClient
I noticed this when running some tests with the new version.
resolveOptions
is not updating the pointer reference. So any changes made locally in the method are not reflected in the caller.For example:
gh.HTTPClient(nil)
causes a nil value forClientOptions
to be passed to the underlyingNewHTTPClient
.