diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index ee6e712a42..c1e2b97c33 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts @@ -93,9 +93,7 @@ export async function activate(context: vscode.ExtensionContext) { ctx.registerCommand('applySourceChange', commands.applySourceChange); ctx.registerCommand('selectAndApplySourceChange', commands.selectAndApplySourceChange); - if (workspaceFolder !== null) { - ctx.pushCleanup(activateTaskProvider(workspaceFolder)); - } + ctx.pushCleanup(activateTaskProvider(workspaceFolder)); activateStatusDisplay(ctx);