Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools repository for Tools P…
Browse files Browse the repository at this point in the history
…R 1477
  • Loading branch information
sima-zhu authored and azure-sdk committed Mar 19, 2021
1 parent 5704c95 commit d97ea10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eng/common/scripts/git-branch-push.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ param(

[Parameter(Mandatory = $false)]
[string] $PushArgs = "",

[Parameter(Mandatory = $false)]
[string] $RemoteName = "",

Expand Down Expand Up @@ -59,7 +59,7 @@ if ($RemoteName -and !(git remote | ? {$_ -eq $RemoteName}))
exit $LASTEXITCODE
}
}
else {
elseif (!$RemoteName -or !(git remote | ? {$_ -eq $RemoteName})) {
Write-Host "git clone $GitUrl"
git clone $GitUrl
if ($LASTEXITCODE -ne 0)
Expand Down

0 comments on commit d97ea10

Please sign in to comment.