Skip to content

Commit

Permalink
Update lib/git/pr/release/util.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Takafumi ONAKA <[email protected]>
  • Loading branch information
secobaka and onk authored Jul 9, 2024
1 parent 9bbb54b commit 5bf18fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git/pr/release/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def merge_pr_body(old_body, new_body)
merged_body = pr_body_lines.join("\n")
check_status.each { |issue_number, check_value|
say "Update pull-request checkbox \##{issue_number} to #{check_value}.", :trace
merged_body.gsub! /^- \[ \] \##{issue_number}\s/, "- [#{check_value}] \##{issue_number}\s"
merged_body.gsub! /^- \[ \] \##{issue_number}\b/, "- [#{check_value}] \##{issue_number}"
}

merged_body
Expand Down

0 comments on commit 5bf18fd

Please sign in to comment.