mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Issue #79599 - CSS LS fails if InitializationOptions.dataPaths not set
Signed-off-by: Mickael Istria <mistria@redhat.com>
This commit is contained in:
parent
026b470f49
commit
558d23bd26
|
@ -103,7 +103,7 @@ connection.onInitialize((params: InitializeParams): InitializeResult => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const dataPaths: string[] = params.initializationOptions.dataPaths;
|
const dataPaths: string[] = params.initializationOptions.dataPaths || [];
|
||||||
const customDataProviders = getDataProviders(dataPaths);
|
const customDataProviders = getDataProviders(dataPaths);
|
||||||
|
|
||||||
function getClientCapability<T>(name: string, def: T) {
|
function getClientCapability<T>(name: string, def: T) {
|
||||||
|
|
Loading…
Reference in a new issue