Skip to content

Commit

Permalink
Un-reverse condition (#43385)
Browse files Browse the repository at this point in the history
(cherry picked from commit 64f8bbb)
  • Loading branch information
amcasey committed Mar 26, 2021
1 parent db13113 commit 0d7b5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/sys.ts
Expand Up @@ -1198,7 +1198,7 @@ namespace ts {

const platform: string = _os.platform();
const useCaseSensitiveFileNames = isFileSystemCaseSensitive();
const realpathSync = useCaseSensitiveFileNames ? _fs.realpathSync : (_fs.realpathSync.native ?? _fs.realpathSync);
const realpathSync = useCaseSensitiveFileNames ? (_fs.realpathSync.native ?? _fs.realpathSync) : _fs.realpathSync;

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

0 comments on commit 0d7b5e6

Please sign in to comment.