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: {
|
editor: {
|
||||||
connection,
|
connection,
|
||||||
folder,
|
folder,
|
||||||
userLanguages: params.initializationOptions.userLanguages
|
userLanguages: params.initializationOptions?.userLanguages
|
||||||
? params.initializationOptions.userLanguages
|
? params.initializationOptions.userLanguages
|
||||||
: {},
|
: {},
|
||||||
// TODO
|
// TODO
|
||||||
|
|
Loading…
Reference in New Issue