Skip to content

Commit

Permalink
Remove activation event trigger. (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatsinnit authored Nov 25, 2024
1 parent da13898 commit 940a3e8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,6 @@ export async function activate(context: vscode.ExtensionContext) {

context.subscriptions.push(uiExtensionVariables.outputChannel);

const currentVersion = vscode.extensions.getExtension("ms-kubernetes-tools.vscode-aks-tools")?.packageJSON
.version;
const lastShownVersion = context.globalState.get<string>("vscode-aks-tools.lastWalkthroughVersion");
// Check if the walkthrough needs to be shown
if (currentVersion && currentVersion !== lastShownVersion) {
await vscode.commands.executeCommand("workbench.action.openWalkthrough", {
category: "ms-kubernetes-tools.vscode-aks-tools#aksvscodewalkthrough",
});

// Update the version in global state after showing the walkthrough
await context.globalState.update("vscode-aks-tools.lastWalkthroughVersion", currentVersion);
}

registerUIExtensionVariables(uiExtensionVariables);
registerCommandWithTelemetry("aks.signInToAzure", signInToAzure);
registerCommandWithTelemetry("aks.selectTenant", selectTenant);
Expand Down

0 comments on commit 940a3e8

Please sign in to comment.