Skip to content

Commit b8bc89c

Browse files
Fix API review for Python due to missing code file (#35037)
1 parent 2739e0d commit b8bc89c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/scripts/Language-Settings.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,10 +542,10 @@ function Find-python-Artifacts-For-Apireview($artifactDir, $artifactName)
542542

543543
# Python requires pregenerated token file in addition to wheel to generate API review.
544544
# Make sure that token file exists in same path as wheel file.
545-
$tokenFile = Join-Path -Path $whlDirectory -ChildPath "${packageName}_Python.json"
545+
$tokenFile = Join-Path -Path $whlDirectory -ChildPath "${packageName}_${Language}.json"
546546
if (!(Test-Path $tokenFile))
547547
{
548-
Write-Host "API review token file for $($artifactName) does not exist in path $($whlDirectory). Skipping API review for $packageName"
548+
Write-Host "API review token file for $($tokenFile) does not exist in path $($whlDirectory). Skipping API review for $packageName"
549549
return $null
550550
}
551551
else

0 commit comments

Comments
 (0)