Skip to content

Commit

Permalink
qt-official: Fix not running live-server
Browse files Browse the repository at this point in the history
`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 <[email protected]>
  • Loading branch information
OrkunTokdemir committed Jul 24, 2024
1 parent e1759d4 commit c5ba8c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qt-official/src/tasks/wasm-start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ` +
Expand Down

0 comments on commit c5ba8c7

Please sign in to comment.