@@ -131,7 +131,7 @@ export class SessionManager {
131
131
public stop ( ) {
132
132
133
133
// 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...") ;
135
135
136
136
if ( this . sessionStatus === SessionStatus . Failed ) {
137
137
// Before moving further, clear out the client and process if
@@ -153,7 +153,7 @@ export class SessionManager {
153
153
154
154
// Kill the PowerShell process we spawned via the console
155
155
if ( this . powerShellProcess !== undefined ) {
156
- this . log . write ( "\r\nTerminating PowerShell process...") ;
156
+ this . log . write ( os . EOL + "Terminating PowerShell process...") ;
157
157
this . powerShellProcess . kill ( ) ;
158
158
this . powerShellProcess = undefined ;
159
159
}
@@ -267,7 +267,7 @@ export class SessionManager {
267
267
this . powerShellProcess . on (
268
268
'close' ,
269
269
( 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 ) ;
271
271
272
272
if ( this . languageServerClient != undefined ) {
273
273
this . languageServerClient . stop ( ) ;
@@ -285,7 +285,7 @@ export class SessionManager {
285
285
" pid: " + this . powerShellProcess . pid ,
286
286
" exe: " + powerShellExePath ,
287
287
" bundledModulesPath: " + bundledModulesPath ,
288
- " args: " + startScriptPath + ' ' + startArgs + "\r\n\r\n" ) ;
288
+ " args: " + startScriptPath + ' ' + startArgs + os . EOL + os . EOL ) ;
289
289
}
290
290
catch ( e )
291
291
{
@@ -302,7 +302,7 @@ export class SessionManager {
302
302
303
303
private startLanguageClient ( port : number ) {
304
304
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 ) ;
306
306
307
307
try
308
308
{
0 commit comments