Skip to content

Commit

Permalink
Update pr-edit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ssejrog authored Jun 18, 2024
1 parent 023918a commit 7bb5fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-edit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
const old_marker = new RegExp(marker.replace("\r\n", "\r?\n")).exec(old_body)?.[0] ?? marker;
fixed_split = old_body.split(old_marker)[0] !== undefined ? old_body.split(old_marker)[0] : [''];
fixed_split = old_body.split !== undefined ? old_body.split(old_marker)[0] : [''];
body = fixed_split + marker + body;
await github.request('PATCH /repos/{owner}/{repo}/pulls/{pull_number}', {
owner: owner,
Expand Down

0 comments on commit 7bb5fec

Please sign in to comment.