We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c76e8d commit f8eb03aCopy full SHA for f8eb03a
vscode/src/VsCodeExtension.ts
@@ -43,6 +43,6 @@ export class VsCodeExtension {
43
});
44
45
// Commands
46
- registerAllCommands(context, this.extensionContext, this.sidebar);
+ registerAllCommands(context, this.sidebar);
47
}
48
vscode/src/commands.ts
@@ -83,11 +83,10 @@ const commandsMap: (
83
84
export function registerAllCommands(
85
context: vscode.ExtensionContext,
86
- extensionContext: vscode.ExtensionContext,
87
- sidebar: KonveyorGUIWebviewViewProvider,
+ sidebar: KonveyorGUIWebviewViewProvider
88
) {
89
for (const [command, callback] of Object.entries(
90
- commandsMap(extensionContext, sidebar),
+ commandsMap(context, sidebar)
91
)) {
92
context.subscriptions.push(
93
vscode.commands.registerCommand(command, callback),
0 commit comments