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

fix: username might be a number #203

Merged
merged 6 commits into from
Sep 16, 2019

Conversation

simon300000
Copy link
Contributor

@simon300000 simon300000 commented Sep 1, 2019

What: Convert username input to string

Why: Seems like the cli package will automatically convert "number-like" to numbers

How: by using String(argv._[1])

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Reproduce:

all-contributors add 992939504 content

-> username.toLowerCase is not a function

@simon300000 simon300000 changed the title username might be a number fix: username might be a number Sep 1, 2019
@simon300000
Copy link
Contributor Author

Is there anything else I need to do?
I found Documentation and Tests is not really applied here

@Berkmann18
Copy link
Member

@simon300000 Nope, I just forgot to merge this after rebasing it with master.

@Berkmann18 Berkmann18 merged commit a91145f into all-contributors:master Sep 16, 2019
@all-contributors-release-bot
Copy link
Member

🎉 This PR is included in version 6.9.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants