Better clean for 452a377c5e

This commit is contained in:
Matt Bierner
2020-05-14 12:13:31 -07:00
parent ee183be238
commit f3454d430b

View File

@@ -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 [];
}