Skip to content

Add return value to getEnvironment().#189

Merged
dbaeumer merged 1 commit intomicrosoft:masterfrom
trixnz:trixnz-fix-getEnvironment
Apr 5, 2017
Merged

Add return value to getEnvironment().#189
dbaeumer merged 1 commit intomicrosoft:masterfrom
trixnz:trixnz-fix-getEnvironment

Conversation

@trixnz
Copy link
Contributor

@trixnz trixnz commented Apr 4, 2017

This fixes a bug where env was not being propagated to spawned server instances.

I was debugging why my user-defined env object was not being passed down to my spawned language server and noticed the missing return value, resulting in undefined being passed down the chain.

This fixes a bug where `env` was not being propagated to spawned server instances.
@msftclas
Copy link

msftclas commented Apr 4, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

1 similar comment
@msftclas
Copy link

msftclas commented Apr 4, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@dbaeumer
Copy link
Member

dbaeumer commented Apr 5, 2017

@trixnz great catch. Thanks!

@dbaeumer dbaeumer merged commit 1274296 into microsoft:master Apr 5, 2017
@trixnz trixnz deleted the trixnz-fix-getEnvironment branch April 5, 2017 17:09
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.

3 participants