Skip to content

Commit 9dba757

Browse files
dariakpmalikj2000
authored andcommitted
chore: remove sticky regex g flag to fix release-notes action
1 parent 85a11e7 commit 9dba757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/pr_list.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const historyFilePath = path.join(__dirname, '..', '..', 'HISTORY.md');
1212
* @returns {string[]}
1313
*/
1414
function parsePRList(history) {
15-
const prRegexp = /node-mongodb-native\/issues\/(?<prNum>\d+)\)/giu;
15+
const prRegexp = /node-mongodb-native\/issues\/(?<prNum>\d+)\)/iu;
1616
return history
1717
.split('\n')
1818
.map(line => prRegexp.exec(line)?.groups?.prNum ?? '')

0 commit comments

Comments
 (0)