Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 16b20b4

Browse files
committed
chore: remove unneeded lazy from regexp
1 parent b1eb84f commit 16b20b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-changelog.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function main() {
4242
currentPR?.body.replace(/## 👉 Changelog[\s\S]*$/, '') || `> ${newVersion} is the next ${bumpType} release.\n>\n> **Timetable**: to be announced.`,
4343
'## 👉 Changelog',
4444
changelog
45-
.replace(/^## v.*?\n/, '')
45+
.replace(/^## v.*\n/, '')
4646
.replace(`...${releaseBranch}`, `...v${newVersion}`)
4747
.replace(/### Contributors[\s\S]*$/, ''),
4848
'### ❤️ Contributors',

0 commit comments

Comments
 (0)