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

Harden handling when getting the installed dotnet cli version #1367

Merged
merged 1 commit into from
Nov 13, 2019

Conversation

JamesWTruher
Copy link
Member

PR Summary

dotnet --version can now emit a list of installed sdks as output and an error if the global.json
file points to a version of the sdk which is not installed. However, the format of the new list
with --version has a couple of spaces at the beginning of the line, so we need to be resilient
against that.

PR Checklist

dotnet --version can now emit a list of installed sdks as output *and* an error if the global.json
file points to a version of the sdk which is *not* installed. However, the format of the new list
with --version has a couple of spaces at the beginning of the line, so we need to be resilient
against that.
@bergmeister bergmeister merged commit cdc5cf3 into PowerShell:master Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants