mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Issue #79599 - CSS LS fails if InitializationOptions.dataPaths not set
Signed-off-by: Mickael Istria <mistria@redhat.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
function getClientCapability<T>(name: string, def: T) {
|
||||
|
||||
Reference in New Issue
Block a user