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 for finding the default SDK in some scenarios #120

Merged
merged 1 commit into from
Jan 11, 2020
Merged

Fix for finding the default SDK in some scenarios #120

merged 1 commit into from
Jan 11, 2020

Conversation

patriksvensson
Copy link
Contributor

When trying to find the default SDK and there isn't a global.json the default SDK finder sometimes throw a ArgumentOutOfRange exception because the line breaks between sections in the output from dotnet --info is missing for some reason.

This commit fixes one of those scenarios while keeping the original way of finding the SDK intact.

When trying to find the default SDK and there isn't a global.json
the default SDK finder sometimes throw a ArgumentOutOfRange exception
because the line breaks between sections in the output from --info
is missing.

This commit fixes one of those scenarios while keeping the original
way of finding the SDK intact.
@patriksvensson
Copy link
Contributor Author

Whoopsie. Failing tests. Didn't see a test project but I'll make sure they pass.

@daveaglick
Copy link
Collaborator

Don’t spend too much time on the tests if it doesn’t look like something introduced from your change - the integration test suite can be flaky. I’ll take a closer look soon.

@daveaglick daveaglick merged commit 6455fc8 into phmonte:master Jan 11, 2020
@daveaglick
Copy link
Collaborator

Thanks, and sorry for the delay merging this in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants