Skip to content
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

Fix3321 - Use empty to prevent destructure of undefined #3348

Merged
merged 3 commits into from Oct 2, 2023

Conversation

vlavati
Copy link
Contributor

@vlavati vlavati commented Sep 18, 2023

This change addresses item #3321

The following changes are proposed:

  • if command is used without arguments, the empty object is used to use destructuring without exception

The purpose of this change

This change fixes the bug.

The reproducing

task

@vlavati vlavati changed the title Use empty to prevent destructure of undefined Fix3321 - Use empty to prevent destructure of undefined Sep 28, 2023
@gcampbell-msft
Copy link
Collaborator

@vlavati To be verbose, could you post screenshots or a gif in the description to confirm that this fixes the issue? Otherwise, this looks good to me.

Please make a changelog entry and then we can approve. Thanks!

@vlavati
Copy link
Contributor Author

vlavati commented Sep 28, 2023

Hi, @gcampbell-msft . It is updated. Could you review? Thanks in advance.

@gcampbell-msft
Copy link
Collaborator

It is a known test issue that the Windows tests are failing. Merging this approved fixed without it.

@gcampbell-msft gcampbell-msft merged commit 4a344cc into microsoft:main Oct 2, 2023
3 of 4 checks passed
@vlavati vlavati deleted the Local/DestructureOfUndefined branch October 2, 2023 18:27
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.

None yet

2 participants