MCPcopy
hub / github.com/vercel/next.js / cleanupPRTitle

Function cleanupPRTitle

release.js:91–97  ·  view source on GitHub ↗
(title)

Source from the content-addressed store, hash-verified

89}
90
91function cleanupPRTitle(title) {
92 if (title.startsWith('[Docs] ')) {
93 return title.replace('[Docs] ', '')
94 }
95
96 return title
97}
98
99const buildChangelog = (sections, authors) => {
100 let text = ''

Callers 1

buildChangelogFunction · 0.85

Calls 2

startsWithMethod · 0.80
replaceMethod · 0.65

Tested by

no test coverage detected