FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Harden handling when getting the installed dotnet cli version by JamesWTruher · Pull Request #1367 · PowerShell/PSScriptAnalyzer · GitHub

Harden handling when getting the installed dotnet cli version - #1367

Merged
Christoph Bergmeister (bergmeister) merged 1 commit into
PowerShell:masterfrom
JamesWTruher:BuildScriptFix01
Nov 13, 2019
Merged

Harden handling when getting the installed dotnet cli version#1367
Christoph Bergmeister (bergmeister) merged 1 commit into
PowerShell:masterfrom
JamesWTruher:BuildScriptFix01

Conversation

Copy link
Copy Markdown
Contributor

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.
Christoph Bergmeister (bergmeister) merged commit cdc5cf3 into PowerShell:master Nov 13, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL