Remove unnecessary null check
This commit is contained in:
parent
a781a58fe2
commit
9ef1e9efc6
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user