-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix regression preventing command palette from opening #5888
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.
the issue is fixed
Thanks!
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.
I tested with opened and closed workspace - it works well for me!
64657b3
to
61fa7f6
Compare
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.
code looks good now
2375d8e
to
58f7b1c
Compare
I fixed the other places where something like Sorry for changing an already approved change... |
Fixes #5887 - fixes issue where the command palette can not be opened when there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig') - if no workspace is present, return `undefined` instead of attempting to get the activeConfig for the workspace root. - fix frozen object access by working on a deep-cloned copy. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
58f7b1c
to
3332f9b
Compare
Fixed a last issue where code would throw -but not stop any process/logic- on each workspace opening. @akosyakov @vince-fugnitto @RomanNikitenko @azatsarynnyy sorry for the trouble. |
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.
code looks even better now :)
What it does
Fixes #5887
there is no workspace set. (caused by changes made in the 'cpp-build-configuration#getActiveConfig')
undefined
instead of attempting to get the activeConfigfor the workspace root.
How to test
Review checklist
Reminder for reviewers
Signed-off-by: Vincent Fugnitto vincent.fugnitto@ericsson.com