Skip to content

Commit 5019cc6

Browse files
committed
Makes TS case-sensitive under PnP environments
1 parent bcb6dbf commit 5019cc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/compiler/sys.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,11 @@ namespace ts {
973973
}
974974

975975
function isFileSystemCaseSensitive(): boolean {
976+
// The PnP runtime is always case-sensitive
977+
// @ts-ignore
978+
if (process.versions.pnp) {
979+
return true;
980+
}
976981
// win32\win64 are case insensitive platforms
977982
if (platform === "win32" || platform === "win64") {
978983
return false;

0 commit comments

Comments
 (0)