Skip to content

Commit 0d7b5e6

Browse files
authored
Un-reverse condition (#43385)
(cherry picked from commit 64f8bbb)
1 parent db13113 commit 0d7b5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/sys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ namespace ts {
11981198

11991199
const platform: string = _os.platform();
12001200
const useCaseSensitiveFileNames = isFileSystemCaseSensitive();
1201-
const realpathSync = useCaseSensitiveFileNames ? _fs.realpathSync : (_fs.realpathSync.native ?? _fs.realpathSync);
1201+
const realpathSync = useCaseSensitiveFileNames ? (_fs.realpathSync.native ?? _fs.realpathSync) : _fs.realpathSync;
12021202

12031203
const fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
12041204
const getCurrentDirectory = memoize(() => process.cwd());

0 commit comments

Comments
 (0)