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: allow hypens for username matching in parseComment #307

Merged
merged 2 commits into from
Apr 28, 2020

Conversation

baikho
Copy link
Contributor

@baikho baikho commented Apr 27, 2020

This is a fix for both all-contributors/cli#225 (comment) and #292 both issues relating to hyphens being discarded in the parseComment() function by the following normalise option:

.normalize({
    whitespace: false, // remove hyphens, newlines, and force one space between words
})

So as an alternative, we set this to true and get rid of the whitespace with .replace(/\s/g, '').

@Berkmann18
Copy link
Member

Berkmann18 commented May 22, 2020

It's bizarre that the release bot hasn't commented on this PR.
Seems like the release pipeline possibly broke somewhere.

Edit: It seems that CircleCI is returning errors, https://app.circleci.com/pipelines/github/all-contributors/all-contributors-bot (e.g. "An error occurred on client").

@Berkmann18
Copy link
Member

@jakebolam @gr2m Does this PR shows up on CircleCI on your sides? I can't seem to even see it and all-contributors-bot is locked on there and I can't change that.

@fennecdjay
Copy link
Contributor

Just wanted to mention I just had the probem today, contributor's username was a-mere-peasant.

@github-actions
Copy link

github-actions bot commented Jan 1, 2021

🎉 This PR is included in version 1.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

4 participants