From c5ba8c7530efd5afbd537c71c19aff8a9270c32d Mon Sep 17 00:00:00 2001 From: Orkun Tokdemir Date: Wed, 24 Jul 2024 15:05:37 +0200 Subject: [PATCH] qt-official: Fix not running live-server `checkExtension()` was returning `false` when the extension is already active. It should return `true` instead. Otherwise, the `WASM Start` fails to stat live-server. Change-Id: I43a0730c3a7ce69768034e662898455dd56ab1ef Reviewed-by: Marcus Tillmanns --- qt-official/src/tasks/wasm-start.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qt-official/src/tasks/wasm-start.ts b/qt-official/src/tasks/wasm-start.ts index 5a2f50c..54bd57d 100644 --- a/qt-official/src/tasks/wasm-start.ts +++ b/qt-official/src/tasks/wasm-start.ts @@ -45,9 +45,8 @@ export class WASMStartTaskProvider implements vscode.TaskProvider { if (extension) { if (!extension.isActive) { await extension.activate(); - return true; } - return false; + return true; } else { const message = `The extension ${extensionId} is required to debug ` +