Repository navigation
fix: change default behaviour on unimplemented methods - #22
Conversation
return {} if RemoteTerminalEnvironment has unsupported method
|
|
||
| this.logService.error(`RemoteTerminalChannel: unsupported command/${command}`); | ||
| return undefined; | ||
| return {}; |
There was a problem hiding this comment.
I think we should return {} only if command name is $getEnvironment to address the real issue that was for getEnvironment but why not return an empty object instead undefined for unsupported case anyway
|
Pull Request images published ✨ |
|
thank you for the fix, @nils-mosbach |
|
Pull Request images published ✨ |
8 similar comments
|
Pull Request images published ✨ |
|
Pull Request images published ✨ |
|
Pull Request images published ✨ |
|
Pull Request images published ✨ |
|
Pull Request images published ✨ |
|
Pull Request images published ✨ |
|
Pull Request images published ✨ |
|
Pull Request images published ✨ |
Co-authored-by: meganrogge <[email protected]>
Checked with my environment. This change as recommended by @benoitf solves the issue.
eclipse-che/che#21081