Should `pulic`  be `public`?
This commit is contained in:
silenceshell 2018-05-10 11:55:11 +08:00 committed by GitHub
parent 0d3edf2456
commit 468b5e3f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -457,7 +457,7 @@ func (c *githubConnector) user(ctx context.Context, client *http.Client) (user,
return u, err
}
// Only pulic user emails are returned by 'GET /user'. u.Email will be empty
// Only public user emails are returned by 'GET /user'. u.Email will be empty
// if a users' email is private. We must retrieve private emails explicitly.
if u.Email == "" {
var err error