Skip to content

Commit

Permalink
chore: remove sticky regex g flag to fix release-notes action
Browse files Browse the repository at this point in the history
  • Loading branch information
dariakp committed Jun 22, 2023
1 parent 2113226 commit e0e0973
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+)\)/giu;
const prRegexp = /node-mongodb-native\/issues\/(?<prNum>\d+)\)/iu;
return history
.split('\n')
.map(line => prRegexp.exec(line)?.groups?.prNum ?? '')
Expand Down

0 comments on commit e0e0973

Please sign in to comment.