CSS Language Server fails if client doesn't set dataPaths
in InitializationOptions
#79599
Labels
bug
Issue identified by VS Code Team member as probable bug
css-less-scss
Issues and items concerning CSS,Less,SCSS styling
verified
Verification succeeded
Milestone
I'm extracting the CSS Language Server for usage in 3rd party IDE (Eclipse IDE).
I noticed that if I start the CSS-LS without passing a
dataPaths
element to initialization, the LS will fail because ofTypeError: Cannot read property 'map' of undefined
.One of the important lines in the stack trace is https://github.com/microsoft/vscode/blob/master/extensions/css-language-features/server/src/cssServerMain.ts#L107 .
The text was updated successfully, but these errors were encountered: