fix compile error

fyi @mjbvz
This commit is contained in:
Benjamin Pasero 2020-05-14 09:58:21 +02:00
parent 0873a8b036
commit 45aa0bf525

View file

@ -45,7 +45,7 @@ class TypeScriptWorkspaceSymbolProvider implements vscode.WorkspaceSymbolProvide
file = undefined;
} else {
const document = this.getDocument();
if (!document && this.client.apiVersion.lt(API.v390)) {
if (!document || this.client.apiVersion.lt(API.v390)) {
return [];
}