-
Notifications
You must be signed in to change notification settings - Fork 21
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: improve regex matching #91
Conversation
Removes \n\n requirement since github publishes comments with \r\n which breaks this search and replace. Functionally this doesn't cause breaking changes
@bkeepers would you be willing to review this? |
@gr2m do you know who could be a reviewer for this? |
sorry we are very short on maintenance time on @probot right now, and the metadata extension is defacto unmaintained. But this seems simple enough, I'm happy to merge it in for you |
the failing tests seem legit. Tests pass on master when running |
Certainly, I'll see if I can sort that.
Appreciated that you've responded more so knowing this! |
@gr2m I've updated the PR now. The tests were failing due to the change so I've instead opted to fix the regex matching and have updated the code accordingly. The tests remain unchanged. |
🎉 This PR is included in version 2.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Github comments can appear as \r\n, this improves the regex to support that new requirement