fix Branch naming
parent
115512f6ea
commit
a09742ddba
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
issue.body = issue.body || ''
|
||||
|
||||
let body
|
||||
if(issue.body.includes('Branchname')) {
|
||||
if(issue.body.includes('> <code>')) {
|
||||
body = issue.body.replaceAll(/> <code>.+<\/code>/g, `> <code>${branchName}</code>`)
|
||||
}else {
|
||||
body = issue.body
|
||||
|
|
Loading…
Reference in New Issue