Fix error when `initializationOptions` is undefined (#656)
Co-authored-by: Anbcodes <me@anb.codes>master
parent
9bff008eae
commit
a740b0e240
|
@ -381,7 +381,7 @@ async function createProjectService(
|
|||
editor: {
|
||||
connection,
|
||||
folder,
|
||||
userLanguages: params.initializationOptions.userLanguages
|
||||
userLanguages: params.initializationOptions?.userLanguages
|
||||
? params.initializationOptions.userLanguages
|
||||
: {},
|
||||
// TODO
|
||||
|
|
Loading…
Reference in New Issue