Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix body parameter
  • Loading branch information
rjmholt committed May 22, 2019
commit 555dbc6dcf7aae5e9376c345f7c616bcba7f22b8
3 changes: 2 additions & 1 deletion GitHubPullRequests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ function New-GitHubPullRequest
$description = "Creating pull request $Title in $RepositoryName"
$postBody['title'] = $Title

if ([string]::IsNullOrWhiteSpace($Body))
# Body may be whitespace, although this might not be useful
if ($Body)
{
$postBody['body'] = $Body
}
Expand Down