mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 11:41:23 +00:00
Fix typo
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user