Skip to content

Fix #346: GetVersionDetails failing due to empty environment variable #347

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

Merged
merged 1 commit into from
Jan 19, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Jan 19, 2017

This change fixes an issue caused by a recent change in the VS Code
extension which wiped out all of the environment variables in the process.
That particular issue has now been fixed but it's still good to guard
against this problem in the future. This change adds a null check to
ensure that we don't throw a NullReferenceException in future occurrences
of the issue.

This change fixes an issue caused by a recent change in the VS Code
extension which wiped out all of the environment variables in the process.
That particular issue has now been fixed but it's still good to guard
against this problem in the future.  This change adds a null check to
ensure that we don't throw a NullReferenceException in future occurrences
of the issue.
@daviwil daviwil added this to the 0.9.0 milestone Jan 19, 2017
@daviwil daviwil merged commit 2c7709b into develop Jan 19, 2017
@daviwil daviwil deleted the daviwil/fix-346 branch January 19, 2017 05:56
TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this pull request Feb 26, 2019
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