Skip to content

fix: make find/add case insensitive - #64

Merged
machour merged 2 commits into
all-contributors:masterfrom
GantMan:gantfix
Nov 10, 2017
Merged

machour merged 2 commits into
all-contributors:masterfrom
GantMan:gantfix

Conversation

@GantMan

@GantMan GantMan commented Nov 8, 2017

Copy link
Copy Markdown
Contributor

I would type:
all-contributors add gantman blog
and it would get GantMan from github. This caused it to duplicate my user entry over and over. Making both the find and the update case-insensitive fixes this. Adding 2 tests as well.

closes #62

@machour

machour commented Nov 8, 2017

Copy link
Copy Markdown
Contributor

Oh boy.. really nice catch @GantMan, thank you so much! 🎉
I'll give it a thorough review tomorrow to make sure this is not needed anywhere else, and we'll ship that to 4.7.1

@machour machour self-assigned this Nov 8, 2017
@machour machour changed the title case insensitive find/add fix: make find/add case insensitive Nov 8, 2017
@machour machour added the type: bug Something isn't working label Nov 8, 2017
@machour

machour commented Nov 10, 2017 •

Copy link
Copy Markdown
Contributor

Tested and working as expected, thank you so much for spotting and catching this one @GantMan 🎉

@machour
machour merged commit a79f9d4 into all-contributors:master Nov 10, 2017
@GantMan
GantMan deleted the gantfix branch November 10, 2017 18:56
@GantMan

GantMan commented Nov 10, 2017

Copy link
Copy Markdown
Contributor Author

giphy 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Duplicate entries when adding a contributor twice

2 participants