pull/13/head
MaksimZhukov 4 years ago
parent ebc70e779a
commit 45424846c7

@ -155,7 +155,7 @@ function Get-GitHubApi {
) )
if ($PSCmdlet.ParameterSetName -eq "RepositorySingle") { if ($PSCmdlet.ParameterSetName -eq "RepositorySingle") {
$RepositoryOwner, $RepositoryName = $Repository.Split('/', 2) $RepositoryOwner, $RepositoryName = $RepositoryFullName.Split('/', 2)
} }
return [GitHubApi]::New($RepositoryOwner, $RepositoryName, $AccessToken) return [GitHubApi]::New($RepositoryOwner, $RepositoryName, $AccessToken)

Loading…
Cancel
Save