Skip to content

Commit bf67640

Browse files
joseartriveraHowardWolosky
authored andcommitted
Fix issue
1 parent 729f5ab commit bf67640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitHubIssues.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function Get-GitHubIssue
192192
{
193193
$uriFragment = "/repos/$OwnerName/$RepositoryName/issues"
194194
$description = "Getting issues for $RepositoryName"
195-
if (-not [String]::IsNullOrEmpty($Issue))
195+
if ($PSBoundParameters.ContainsKey('Issue'))
196196
{
197197
$uriFragment = $uriFragment + "/$Issue"
198198
$description = "Getting issue $Issue for $RepositoryName"

0 commit comments

Comments
 (0)