Skip to content

Commit

Permalink
fix: prepare for one last README change (#578)
Browse files Browse the repository at this point in the history
Using remark to format markdown files is going to require one final
README.md format change. This accommodates that change while being
backward-compatible with previous formats.
  • Loading branch information
Trott committed Oct 31, 2021
1 parent 6793666 commit ef1edc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/collaborators.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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+\*\*(.+?)\*\* +(?:&lt;|\\<)(.+?)(?:&gt;|>)/mg;
const CONTACT_RE = /\* +\[(.+?)\]\(.+?\) +-\s+\*\*([^*]+?)\*\* +(?:&lt;|\\<|<<)([^>]+?)(?:&gt;|>)/mg;

const TSC = 'TSC';
const COLLABORATOR = 'COLLABORATOR';
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/README/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ For more information about the governance of the Node.js project, see
### TSC (Technical Steering Committee)

* [bar](https://github.com/bar) -
**Bar User** \<bar@example.com> (she/her)
**Bar User** <<bar@example.com>> (she/her)

### TSC emeriti

Expand All @@ -245,7 +245,7 @@ For more information about the governance of the Node.js project, see
### Collaborators

* [bar](https://github.com/bar) -
**Bar User** \<bar@example.com> (she/her)
**Bar User** <<bar@example.com>> (she/her)
* [Baz](https://github.com/Baz) -
**Baz User** &lt;baz@example.com&gt; (he/him)
* [foo](https://github.com/foo) -
Expand Down

0 comments on commit ef1edc7

Please sign in to comment.