docs(github): fix typo in comment

This commit is contained in:
Naven Gogineni
2021-03-09 14:45:32 +00:00
committed by Felix Wiedmann
parent 795f5d54ef
commit cb3084d0b7

View File

@@ -58,7 +58,7 @@ func New(c *config.GitHubProvider, checkConfig bool) (*Client, error) {
if client, err = github.NewEnterpriseClient(c.CustomURL+"/api/v3/", c.CustomURL+"/api/uploads/", httpClient); err != nil { if client, err = github.NewEnterpriseClient(c.CustomURL+"/api/v3/", c.CustomURL+"/api/uploads/", httpClient); err != nil {
return &Client{}, err return &Client{}, err
} }
// note: do not append find / to end of the url since all the url constructions using this // note: do not append / to end of the url since all the url constructions using this
// assume no trailing / // assume no trailing /
baseURL = c.CustomURL + "/api/v3" baseURL = c.CustomURL + "/api/v3"
} }