You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: vscode command unexpected arg
Problem:
If a command is execute by a VS Code UI component like
an ellipsis or tree node, it is possible for the args
of that component to be incorrect since vscode will not
use the proper arguments.
Solution:
Add a new type called VsCodeCommandArgument that is a
placeholder for that unexpected argument. When the command
is used within the code we should set the value to `undefined`
and when it is executed by a VS Code UI component it will be
defined which indicates the other args will not exist.
Signed-off-by: nkomonen <[email protected]>
* refactor: showManageConnections command on its own
This gets rid of the auth Command class that contains
showManageConnections and instead makes it its own
standalone command.
We are doing this to have more control over the
registration of the command since there are certain
options we need to set.
Signed-off-by: nkomonen <[email protected]>
* fix: handle invalid arg for command auth
See the big comment in the function, but we are essentially
filling in a missing value because the function can be called
incorrectly and we need to handle this case without throwing
an error.
Signed-off-by: nkomonen <[email protected]>
* tests: fix failing tests due to previous changes
Signed-off-by: nkomonen <[email protected]>
* fix log message
Signed-off-by: nkomonen <[email protected]>
* fix log messages
Signed-off-by: nkomonen <[email protected]>
---------
Signed-off-by: nkomonen <[email protected]>
0 commit comments