micro-fix: resolve NativeCommandError in uv sync and ParserError in dynamic env var assignment #4437
+15
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR resolves critical issues in the Windows onboarding script (quickstart.ps1) that prevented users from completing the setup. It addresses both a syntax-level ParserError and a runtime NativeCommandError. The script crashed on Windows PowerShell 5.1 due to multi-argument Join-Path calls, which triggered PositionalParameterNotFound errors because that version only supports joining two path segments at a time.
Changes Made
Type of Change
Related Issues
Fixes #4434
Changes Made
$env:$SelectedEnvVar = $apiKeyon line 504.Set-Itemcmdlet on line 505.Testing
Describe the tests you ran to verify your changes:
cd core && pytest tests/)cd core && ruff check .)Checklist
Screenshots (if applicable)
N/A