-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Command handlers receive an empty object #42851
Comments
@alexandrudima Instead of |
joaomoreno
added a commit
to microsoft/vscode-docs
that referenced
this issue
Jun 1, 2018
Good catch @joaomoreno Turns out JS works differently than I would have thought when passing undefined as an argument in a function which uses var-args. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to Reproduce:
(create an extension)
{}
object is passed into the command handler.Is this by design, to pass an
empty object
into the command handler when commands are invoked via the keyboard shortcuts.The text was updated successfully, but these errors were encountered: