mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 19:50:24 +00:00
Fix typo
This commit is contained in:
@@ -155,7 +155,7 @@ function Get-GitHubApi {
|
||||
)
|
||||
|
||||
if ($PSCmdlet.ParameterSetName -eq "RepositorySingle") {
|
||||
$RepositoryOwner, $RepositoryName = $Repository.Split('/', 2)
|
||||
$RepositoryOwner, $RepositoryName = $RepositoryFullName.Split('/', 2)
|
||||
}
|
||||
|
||||
return [GitHubApi]::New($RepositoryOwner, $RepositoryName, $AccessToken)
|
||||
|
||||
Reference in New Issue
Block a user