mirror of
https://github.com/Mintplex-Labs/winget-pkgs.git
synced 2026-07-01 18:28:34 -04:00
PRTest: specify remote repository for gh cli (#216668)
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ if (-Not (Get-Command 'git' -ErrorAction 'SilentlyContinue')) {
|
||||
return
|
||||
}
|
||||
|
||||
gh pr checkout $PullRequest $(if (!$KeepBranch) { '--detach' }) -f | Out-Null
|
||||
gh pr checkout $PullRequest $(if (!$KeepBranch) { '--detach' }) -f -R $repositoryRoot | Out-Null
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "There was an error checking out the PR. Make sure you're logged into GitHub via 'gh auth login' and come back here!" -ForegroundColor Red
|
||||
|
||||
Reference in New Issue
Block a user