Skip to content

Commit

Permalink
Fix TS Server logging on windows
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mjbvz committed Feb 28, 2023
1 parent 3c8099c commit 4b0586c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class TypeScriptServerSpawner {
tsServerLog = { type: 'file', uri: logFilePath };

args.push('--logVerbosity', TsServerLogLevel.toString(configuration.tsServerLogLevel));
args.push('--logFile', logFilePath.path);
args.push('--logFile', logFilePath.fsPath);
}
}
}
Expand Down

0 comments on commit 4b0586c

Please sign in to comment.