diff options
Diffstat (limited to 'extension/src/activation/activate.ts')
-rw-r--r-- | extension/src/activation/activate.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/extension/src/activation/activate.ts b/extension/src/activation/activate.ts index d07719a8..560b970c 100644 --- a/extension/src/activation/activate.ts +++ b/extension/src/activation/activate.ts @@ -56,12 +56,8 @@ export async function activateExtension(context: vscode.ExtensionContext) { // Start the server and display loader if taking > 2 seconds const sessionIdPromise = (async () => { - await new Promise((resolve) => { - // Start the server and set serverStarted to true when done - startContinuePythonServer().then(() => { - resolve(null); - }); - }); + // Start the server and set serverStarted to true when done + await startContinuePythonServer(); console.log("Continue server started"); // Initialize IDE Protocol Client |