Skip to content

Commit

Permalink
chore: fix pr number url regex for pr_list (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran authored Jul 3, 2023
1 parent dcbd43c commit 5483367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/pr_list.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const historyFilePath = path.join(__dirname, '..', '..', 'HISTORY.md');
* @returns {string[]}
*/
function parsePRList(history) {
const prRegexp = /node-mongodb-native\/issues\/(?<prNum>\d+)\)/iu;
const prRegexp = /js-bson\/issues\/(?<prNum>\d+)\)/iu;
return history
.split('\n')
.map(line => prRegexp.exec(line)?.groups?.prNum ?? '')
Expand Down

0 comments on commit 5483367

Please sign in to comment.