Skip to content

Commit 4b0586c

Browse files
committed
Fix TS Server logging on windows
For microsoft#175172 Ports microsoft#175600 to the 1.76 branch We need to pass TS the windows style path here instead of the unix style path
1 parent 3c8099c commit 4b0586c

File tree

1 file changed

+1
-1
lines changed
  • extensions/typescript-language-features/src/tsServer

1 file changed

+1
-1
lines changed

extensions/typescript-language-features/src/tsServer/spawner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class TypeScriptServerSpawner {
232232
tsServerLog = { type: 'file', uri: logFilePath };
233233

234234
args.push('--logVerbosity', TsServerLogLevel.toString(configuration.tsServerLogLevel));
235-
args.push('--logFile', logFilePath.path);
235+
args.push('--logFile', logFilePath.fsPath);
236236
}
237237
}
238238
}

0 commit comments

Comments
 (0)