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

Commit

Permalink
fix: when body is empty, GitHub may returns None (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
sileht authored Jan 4, 2022
1 parent 4a83ec6 commit a6c6807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_pull_request/__init__.py
Original file line number Diff line number Diff line change
@@ -662,7 +662,7 @@ def fork_and_push_pull_request(
">\n> Current pull request content:\n"
+ pull.title
+ "\n\n"
+ pull.body,
+ (pull.body or ""),
)

ptitle, body = edit_title_and_message(ptitle, body)

0 comments on commit a6c6807

Please sign in to comment.