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 d12ae0f commit 64f8bbbCopy full SHA for 64f8bbb
src/compiler/sys.ts
@@ -1277,7 +1277,7 @@ namespace ts {
1277
1278
const platform: string = _os.platform();
1279
const useCaseSensitiveFileNames = isFileSystemCaseSensitive();
1280
- const realpathSync = useCaseSensitiveFileNames ? _fs.realpathSync : (_fs.realpathSync.native ?? _fs.realpathSync);
+ const realpathSync = useCaseSensitiveFileNames ? (_fs.realpathSync.native ?? _fs.realpathSync) : _fs.realpathSync;
1281
1282
const fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
1283
const getCurrentDirectory = memoize(() => process.cwd());
0 commit comments