-
Notifications
You must be signed in to change notification settings - Fork 136
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
Check if the passed in node is a LocalProjectTreeItem #3370
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow. I can repro the Cannot read properties of undefined (reading 'createClient')
error, but not the isLinux one. Do you know how to repro that?
I haven't been able to repro it either. Still kinda poking around, but really not sure how it's happening. What's crazy is once you have selected something, even if you unselect it, it still passes that tree item in. Super annoying. Only way to unselect something is to reload the window. |
I noticed the same thing. Weird. |
* Check if the passed in node is a LocalProjectTreeItem * Add comment to replace isAzExtTreeItem
* Check if the passed in node is a LocalProjectTreeItem (#3370) * Check if the passed in node is a LocalProjectTreeItem * Add comment to replace isAzExtTreeItem * Changelog for patch fix * Actually save changelog... * Update version * Update date
* Check if the passed in node is a LocalProjectTreeItem (#3370) (#3373) * Check if the passed in node is a LocalProjectTreeItem * Add comment to replace isAzExtTreeItem * Nat/1.8.2changelog (#3375) * Check if the passed in node is a LocalProjectTreeItem (#3370) * Check if the passed in node is a LocalProjectTreeItem * Add comment to replace isAzExtTreeItem * Changelog for patch fix * Actually save changelog... * Update version * Update date * Revert addition of PyStein "feature flag" setting. (#3386) * Version bump and CHANGELOG update. (#3387) Co-authored-by: Nathan <[email protected]>
Fixes #3369
Because of this change, the Local Project tree item will get passed in to deploy which is what's causing the error.
I think when we use the new wrapper, since we pass in
node
andnodes
, it might be easier for us to tell when a node was right-clicked vs. just selected, though I'm not sure how VS Code passes us those args yet.I assume that once that changes, we can change how we do this check.