Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit a6c6807

Browse files
authored
fix: when body is empty, GitHub may returns None (#130)
1 parent 4a83ec6 commit a6c6807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_pull_request/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def fork_and_push_pull_request(
662662
">\n> Current pull request content:\n"
663663
+ pull.title
664664
+ "\n\n"
665-
+ pull.body,
665+
+ (pull.body or ""),
666666
)
667667

668668
ptitle, body = edit_title_and_message(ptitle, body)

0 commit comments

Comments
 (0)