Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API review for Python due to missing code file #35037

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eng/scripts/Language-Settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,10 @@ function Find-python-Artifacts-For-Apireview($artifactDir, $artifactName)

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