Skip to content

Commit

Permalink
Fix powershell naming
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Oct 12, 2020
1 parent 4992fbe commit fafc7d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ foreach ($branch in $syncBranches)
$branchName = $branch.Trim()
$head = "${RepoOwner}/${RepoName}:${branchName}"
LogDebug "Operating on branch [ $branchName ]"
$response = ListPullRequests -RepoOwner $RepoOwner -RepoName $RepoName -head $head
$response = List-PullRequests -RepoOwner $RepoOwner -RepoName $RepoName -head $head -AuthToken $AuthToken
}
catch
{
LogError "ListPullRequests failed with exception:`n$_"
LogError "List-PullRequests failed with exception:`n$_"
exit 1
}

Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/tools-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
inputs:
pwsh: true
workingDirectory: $(System.DefaultWorkingDirectory)
filePath: $(System.DefaultWorkingDirectory)/eng/common/scripts/Delete-Remote-Branches.ps1
filePath: $(System.DefaultWorkingDirectory)/eng/common/scripts/Delete-RemoteBranches.ps1
arguments: >
-RepoName ${{ repo }}
-BranchPrefix "sync-eng/common-"
Expand Down

0 comments on commit fafc7d7

Please sign in to comment.