Skip to content

Commit

Permalink
Revert unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkuttappan authored and azure-sdk committed Apr 2, 2024
1 parent 2726e7c commit dd9c5f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eng/common/scripts/Create-APIReview.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ function Upload-ReviewTokenFile($packageName, $apiLabel, $releaseStatus, $review
return $StatusCode
}

function Get-APITokenFileName($packageArtifactName)
function Get-APITokenFileName($packageName)
{
$reviewTokenFileName = "${packageArtifactName}_${LanguageShort}.json"
$tokenFilePath = Join-Path $ArtifactPath $packageArtifactName $reviewTokenFileName
$reviewTokenFileName = "${packageName}_${LanguageShort}.json"
$tokenFilePath = Join-Path $ArtifactPath $packageName $reviewTokenFileName
if (Test-Path $tokenFilePath) {
Write-Host "Review token file is present at $tokenFilePath"
return $reviewTokenFileName
Expand Down

0 comments on commit dd9c5f9

Please sign in to comment.