diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index d9832d0a852c..09a0f8cf5f4e 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -506,8 +506,7 @@ function Update-python-GeneratedSdks([string]$PackageDirectoriesFile) { Write-Host "Generating project under directory 'sdk/$directory'" -ForegroundColor Yellow Write-Host "======================================================================`n" - $toxConfigPath = Resolve-Path "$RepoRoot/eng/tox/tox.ini" - Invoke-LoggedCommand "tox run -e generate -c `"$toxConfigPath`" --root ." + Invoke-LoggedCommand "azpysdk generate ." } catch { Write-Host "##[error]Error generating project under directory $directory"