aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorTim <[email protected]>2020-03-31 09:11:22 +0100
committerTim Hutt <[email protected]>2020-03-31 09:11:22 +0100
commit9ef1e9efc6039c9299cbb866118ff92cb4467202 (patch)
tree30c82bbdbb5fe908051c0c1dbaf26afcad8b1e7c /editors
parenta781a58fe2cefefbf9bf505247df78fd750a8f13 (diff)
Remove unnecessary null check
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/main.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index ee6e712a4..c1e2b97c3 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -93,9 +93,7 @@ export async function activate(context: vscode.ExtensionContext) {
93 ctx.registerCommand('applySourceChange', commands.applySourceChange); 93 ctx.registerCommand('applySourceChange', commands.applySourceChange);
94 ctx.registerCommand('selectAndApplySourceChange', commands.selectAndApplySourceChange); 94 ctx.registerCommand('selectAndApplySourceChange', commands.selectAndApplySourceChange);
95 95
96 if (workspaceFolder !== null) { 96 ctx.pushCleanup(activateTaskProvider(workspaceFolder));
97 ctx.pushCleanup(activateTaskProvider(workspaceFolder));
98 }
99 97
100 activateStatusDisplay(ctx); 98 activateStatusDisplay(ctx);
101 99