Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace matchAccount() with MatchAccount() #56

Merged
merged 1 commit into from Dec 15, 2019

Conversation

@mbrukman
Copy link
Member

mbrukman commented Dec 15, 2019

When we originally added MatchAccount() in PR #24 to canonicalize
email addresses in terms of case and remove dots in Gmail addresses,
ironically, we did not remove a similarly-named local function
matchAccount() (note the case difference), which has created some
subtle problems in not validating some commits where the case of the
email in the commit does not match the case of the email in the CLA.

Removing the now-outdated matchAccount() and replacing its uses with
MatchAccount() everywhere fixes this, and also adds the missing
canonicalization of GitHub account IDs.

Fixes #55

When we originally added `MatchAccount()` in PR #24 to canonicalize
email addresses in terms of case and remove dots in Gmail addresses,
ironically, we did not remove a similarly-named local function
`matchAccount()` (note the case difference), which has created some
subtle problems in not validating some commits where the case of the
email in the commit does not match the case of the email in the CLA.

Removing the now-outdated `matchAccount()` and replacing its uses with
`MatchAccount()` everywhere fixes this, and also adds the missing
canonicalization of GitHub account IDs.

Fixes #55
@googlebot googlebot added the cla: yes label Dec 15, 2019
@mbrukman mbrukman merged commit c523a05 into google:master Dec 15, 2019
2 checks passed
2 checks passed
cla/google All necessary CLAs are signed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@mbrukman mbrukman deleted the mbrukman:fix-matchaccount-fn-plurality branch Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.