mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Better clean for 452a377c5e
This commit is contained in:
@@ -45,11 +45,8 @@ class TypeScriptWorkspaceSymbolProvider implements vscode.WorkspaceSymbolProvide
|
||||
file = undefined;
|
||||
} else {
|
||||
const document = this.getDocument();
|
||||
if (!document || this.client.apiVersion.lt(API.v390)) {
|
||||
return [];
|
||||
}
|
||||
file = document ? await this.toOpenedFiledPath(document) : undefined;
|
||||
|
||||
file = await this.toOpenedFiledPath(document);
|
||||
if (!file && this.client.apiVersion.lt(API.v390)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user