-
Notifications
You must be signed in to change notification settings - Fork 113
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
feat: prepare ncu for new README format #561
Conversation
Codecov Report
@@ Coverage Diff @@
## main #561 +/- ##
=======================================
Coverage 82.57% 82.57%
=======================================
Files 35 35
Lines 1750 1750
=======================================
Hits 1445 1445
Misses 305 305
Continue to review full report at Codecov.
|
lib/collaborators.js
Outdated
@@ -6,7 +6,8 @@ const TSC_TITLE = '### TSC (Technical Steering Committee)'; | |||
const TSCE_TITLE = '### TSC Emeriti'; | |||
const CL_TITLE = '### Collaborators'; | |||
const CLE_TITLE = '### Collaborator Emeriti'; | |||
const CONTACT_RE = /\* +\[(.+?)\]\(.+?\) +-\s\*\*(.+?)\*\* +<(.+?)>/mg; | |||
const CONTACT_RE = | |||
/\* +\[(.+?)\]\(.+?\) +-\s\*\*(.+?)\*\* +(?:<|<)(.+?)(?:>|>)/mg; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need to include the backslash in the regexp?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, we clearly don't, because the tests pass, but I don't understand how it works ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand which backslash you are talking about?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The one you had to add in the readme to escape <
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yikes, it doesn't work. I thought I ran it against the main branch, but I guess I didn't. The change in the README doesn't cause a test failure there. I'm guessing it's using the contact info from the TSC entry for the same user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, @targos. Fixed.
This accommodates both the current README format and the upcoming README format. Refs: nodejs/node#40137
Do we know why the 16.x GitHub Action is failing on a seemingly-unrelated test? |
The tests are a bit flaky on Windows |
OK, I'll re-run it. Thanks. |
This accommodates both the current README format and the upcoming README
format.
Refs: nodejs/node#40137