Merge pull request #1232 from silenceshell/patch-1

fix typo
This commit is contained in:
Eric Chiang
2018-05-14 16:10:19 -07:00
committed by GitHub

View File

@@ -457,7 +457,7 @@ func (c *githubConnector) user(ctx context.Context, client *http.Client) (user,
return u, err 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 a users' email is private. We must retrieve private emails explicitly.
if u.Email == "" { if u.Email == "" {
var err error var err error