Skip to content

Commit 64f8bbb

Browse files
committed
Un-reverse condition
1 parent d12ae0f commit 64f8bbb

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
@@ -1277,7 +1277,7 @@ namespace ts {
12771277

12781278
const platform: string = _os.platform();
12791279
const useCaseSensitiveFileNames = isFileSystemCaseSensitive();
1280-
const realpathSync = useCaseSensitiveFileNames ? _fs.realpathSync : (_fs.realpathSync.native ?? _fs.realpathSync);
1280+
const realpathSync = useCaseSensitiveFileNames ? (_fs.realpathSync.native ?? _fs.realpathSync) : _fs.realpathSync;
12811281

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

0 commit comments

Comments
 (0)