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 db13113 commit 0d7b5e6Copy full SHA for 0d7b5e6
src/compiler/sys.ts
@@ -1198,7 +1198,7 @@ namespace ts {
1198
1199
const platform: string = _os.platform();
1200
const useCaseSensitiveFileNames = isFileSystemCaseSensitive();
1201
- const realpathSync = useCaseSensitiveFileNames ? _fs.realpathSync : (_fs.realpathSync.native ?? _fs.realpathSync);
+ const realpathSync = useCaseSensitiveFileNames ? (_fs.realpathSync.native ?? _fs.realpathSync) : _fs.realpathSync;
1202
1203
const fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
1204
const getCurrentDirectory = memoize(() => process.cwd());
0 commit comments