Skip to content

Commit 6738fe9

Browse files
Fix capitalization of keys in initializationOptions (#3987)
While the TypeScript LSP client library didn’t lowercase the first letter of these properties, unfortunately OmniSharp’s stdio client (used for end-to-end testing) did, and so this was the easiest solution.
1 parent 3959bdf commit 6738fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/session.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,8 @@ export class SessionManager implements Middleware {
542542
},
543543
// NOTE: Some settings are only applicable on startup, so we send them during initialization.
544544
initializationOptions: {
545-
EnableProfileLoading: this.sessionSettings.enableProfileLoading,
546-
InitialWorkingDirectory: this.sessionSettings.cwd,
545+
enableProfileLoading: this.sessionSettings.enableProfileLoading,
546+
initialWorkingDirectory: this.sessionSettings.cwd,
547547
},
548548
errorHandler: {
549549
// Override the default error handler to prevent it from

0 commit comments

Comments
 (0)