We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 822cb3a commit 064b19dCopy full SHA for 064b19d
src/compiler/sys.ts
@@ -1186,7 +1186,7 @@ namespace ts {
1186
let activeSession: import("inspector").Session | "stopping" | undefined;
1187
let profilePath = "./profile.cpuprofile";
1188
1189
- const realpathSync = _fs.realpathSync.native ?? _fs.realpathSync;
+ const realpathSync = process.platform !== "win32" ? _fs.realpathSync.native : _fs.realpathSync;
1190
1191
const Buffer: {
1192
new (input: string, encoding?: string): any;
0 commit comments