@@ -131,7 +131,7 @@ export class SessionManager {
131131 public stop ( ) {
132132
133133 // Shut down existing session if there is one
134- this . log . write ( "\r\n\r\nShutting down language client...") ;
134+ this . log . write ( os . EOL + os . EOL + "Shutting down language client...") ;
135135
136136 if ( this . sessionStatus === SessionStatus . Failed ) {
137137 // Before moving further, clear out the client and process if
@@ -153,7 +153,7 @@ export class SessionManager {
153153
154154 // Kill the PowerShell process we spawned via the console
155155 if ( this . powerShellProcess !== undefined ) {
156- this . log . write ( "\r\nTerminating PowerShell process...") ;
156+ this . log . write ( os . EOL + "Terminating PowerShell process...") ;
157157 this . powerShellProcess . kill ( ) ;
158158 this . powerShellProcess = undefined ;
159159 }
@@ -267,7 +267,7 @@ export class SessionManager {
267267 this . powerShellProcess . on (
268268 'close' ,
269269 ( exitCode ) => {
270- this . log . write ( "\r\npowershell .exe terminated with exit code: " + exitCode + "\r\n" ) ;
270+ this . log . write ( os . EOL + "powershell .exe terminated with exit code: " + exitCode + os . EOL ) ;
271271
272272 if ( this . languageServerClient != undefined ) {
273273 this . languageServerClient . stop ( ) ;
@@ -285,7 +285,7 @@ export class SessionManager {
285285 " pid: " + this . powerShellProcess . pid ,
286286 " exe: " + powerShellExePath ,
287287 " bundledModulesPath: " + bundledModulesPath ,
288- " args: " + startScriptPath + ' ' + startArgs + "\r\n\r\n" ) ;
288+ " args: " + startScriptPath + ' ' + startArgs + os . EOL + os . EOL ) ;
289289 }
290290 catch ( e )
291291 {
@@ -302,7 +302,7 @@ export class SessionManager {
302302
303303 private startLanguageClient ( port : number ) {
304304
305- this . log . write ( "Connecting to language service on port " + port + "...\r\n" ) ;
305+ this . log . write ( "Connecting to language service on port " + port + "..." + os . EOL ) ;
306306
307307 try
308308 {
0 commit comments