mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Remove unnecessary null check
This commit is contained in:
parent
a781a58fe2
commit
9ef1e9efc6
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue