diff --git a/src/PowerShellEditorServices/Server/PsesLanguageServer.cs b/src/PowerShellEditorServices/Server/PsesLanguageServer.cs index b66d99fa4..b2195cae5 100644 --- a/src/PowerShellEditorServices/Server/PsesLanguageServer.cs +++ b/src/PowerShellEditorServices/Server/PsesLanguageServer.cs @@ -131,7 +131,7 @@ public async Task StartAsync() { // Wire up the HostLogger to the LanguageServer's logger once we are initialized, so that any messages still logged to the HostLogger get sent across the LSP channel. There is no more logging to disk at this point. hostLoggerSubscription = HostLogger.Subscribe(new HostLoggerAdapter( - languageServer.Services.GetService>() + languageServer.Services.GetService>() )); // Set the workspace path from the parameters.