Skip to content

Commit bba19af

Browse files
committed
Makes TS case-sensitive under PnP environments
1 parent 4be321a commit bba19af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/compiler/sys.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,11 @@ namespace ts {
13591359
}
13601360

13611361
function isFileSystemCaseSensitive(): boolean {
1362+
// The PnP runtime is always case-sensitive
1363+
// @ts-ignore
1364+
if (process.versions.pnp) {
1365+
return true;
1366+
}
13621367
// win32\win64 are case insensitive platforms
13631368
if (platform === "win32" || platform === "win64") {
13641369
return false;

0 commit comments

Comments
 (0)