pcgeek86 / PSGitHub

This PowerShell module contains commands to manage GitHub through its REST API.
MIT License
182 stars 39 forks source link

Get-GitHubPullRequest ignores the -BaseBranch parameter #61

Closed Danl2620 closed 2 years ago

Danl2620 commented 2 years ago

Describe the bug

Get-GitHubPullRequest ignores the -BaseBranch parameter. The code in the function refers to the parameter as $Base so it's pretty clearly just a typo.

To Reproduce

Steps to reproduce the behavior:

  1. Type Get-GitHubPullRequest -BaseBranch "<some-valid-branch-name>"
  2. See the results will be all pull requests.

Expected behavior

The results should be only pull requests with the named base branch as their base.