Skip to content
New issue

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

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

Already on GitHub? # to your account

improve sdk version robustness and tests to allow for empty object #11378

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Jan 22, 2025

The SDK installer script couldn't handle a global.json file with an empty object {}. This PR fixes that and updates the tests to be able to directly verify the SDK versions that would be installed.

This also improves handling when the starting directories contain wildcards (e.g., /**) and when directories don't exist.

@brettfo brettfo requested a review from a team as a code owner January 22, 2025 18:09
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Jan 22, 2025
@brettfo brettfo force-pushed the dev/brettfo/nuget-install-sdk branch from 4769b1f to c6b680c Compare January 22, 2025 18:14
@randhircs randhircs force-pushed the dev/brettfo/nuget-install-sdk branch from f5ebc99 to b95dfaf Compare January 22, 2025 21:45
@randhircs randhircs merged commit 1f66768 into main Jan 22, 2025
71 checks passed
@randhircs randhircs deleted the dev/brettfo/nuget-install-sdk branch January 22, 2025 22:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants