From a30e594135b68571136b74238592efc7dc10f38e Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Sun, 6 Jan 2019 17:31:39 +0800 Subject: [PATCH] Fix bug #72 (#87) --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 240cadae..559da75c 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -25,7 +25,6 @@ export async function activate(context: vscode.ExtensionContext): Promise leetCodeTreeDataProvider.refresh(); }); - leetCodeManager.getLoginStatus(); const leetCodeTreeDataProvider: LeetCodeTreeDataProvider = new LeetCodeTreeDataProvider(context); context.subscriptions.push( @@ -47,6 +46,7 @@ export async function activate(context: vscode.ExtensionContext): Promise ); await plugin.initializeEndpoint(); + leetCodeManager.getLoginStatus(); } export function deactivate(): void {