Remove unnecessary null check

This commit is contained in:
Tim 2020-03-31 09:11:22 +01:00 committed by Tim Hutt
parent a781a58fe2
commit 9ef1e9efc6

View file

@ -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);