Remove unnecessary null check
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
activateStatusDisplay(ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user