mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-01 10:09:50 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
14 lines
559 B
TypeScript
14 lines
559 B
TypeScript
import { regEx } from '../../../util/regex.ts';
|
|
|
|
export function readOnlyIssueBody(body: string): string {
|
|
return body
|
|
.replace(regEx(/ To.*?, click on a checkbox below\./g), '')
|
|
.replace(regEx(/\[ ] <!-- \w*-branch.*-->/g), '')
|
|
.replace(regEx(/ - \[ ] <!-- create-config-migration-pr -->.*/g), '')
|
|
.replace(regEx(/ - \[ ] <!-- approve-all-[\w-]*-prs -->.*/g), '')
|
|
.replace(regEx(/ - \[ ] <!-- create-all-[\w-]*-prs -->.*/g), '')
|
|
.replace(regEx(/ - \[ ] <!-- rebase-all-[\w-]*-prs -->.*/g), '');
|
|
}
|
|
|
|
export default readOnlyIssueBody;
|