Fix error when `initializationOptions` is undefined (#656)

Co-authored-by: Anbcodes <me@anb.codes>
master
anbcodes 2022-11-09 05:01:34 -05:00 committed by GitHub
parent 9bff008eae
commit a740b0e240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ async function createProjectService(
editor: {
connection,
folder,
userLanguages: params.initializationOptions.userLanguages
userLanguages: params.initializationOptions?.userLanguages
? params.initializationOptions.userLanguages
: {},
// TODO