Skip to content

Commit a4f97fc

Browse files
committed
fix stray diff
1 parent 613a59d commit a4f97fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,8 +859,8 @@ func (c *Client) BareDo(ctx context.Context, req *http.Request) (*Response, erro
859859
if e, ok := err.(*url.Error); ok {
860860
if url, err := url.Parse(e.URL); err == nil {
861861
e.URL = sanitizeURL(url).String()
862+
return response, e
862863
}
863-
return response, e
864864
}
865865

866866
return response, err

0 commit comments

Comments
 (0)