Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuo committed Jun 27, 2024
1 parent db65abd commit e13fbc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pullRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function exec() {
}

const log = fs.readFileSync('./CHANGELOG.md', 'utf8')
const body = log.replace(/#\s* \(([0-9]*)-([0-9]*)-([0-9]*)\)\s*\n*/, '')
const body = log.split('\n\n')[0]

try {
await execa('git', ['add', '.'], { stdio: 'inherit' })
Expand Down

0 comments on commit e13fbc5

Please sign in to comment.