diff options
author | Tim <[email protected]> | 2020-03-31 09:11:22 +0100 |
---|---|---|
committer | Tim Hutt <[email protected]> | 2020-03-31 09:11:22 +0100 |
commit | 9ef1e9efc6039c9299cbb866118ff92cb4467202 (patch) | |
tree | 30c82bbdbb5fe908051c0c1dbaf26afcad8b1e7c | |
parent | a781a58fe2cefefbf9bf505247df78fd750a8f13 (diff) |
Remove unnecessary null check
-rw-r--r-- | editors/code/src/main.ts | 4 |
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 | ||