mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-18 02:26:24 +00:00
10 lines
406 B
TypeScript
10 lines
406 B
TypeScript
export function readOnlyIssueBody(body: string): string {
|
|
return body
|
|
.replace(' only once you click their checkbox below', '')
|
|
.replace(' unless you click a checkbox below', '')
|
|
.replace(' To discard all commits and start over, check the box below.', '')
|
|
.replace(/ Click (?:on |)a checkbox.*\./g, '')
|
|
.replace(/\[ ] <!-- \w*-branch.*-->/g, '');
|
|
}
|
|
|
|
export default readOnlyIssueBody;
|