A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Microsoft/TypeScript/issues/11317 below:

Detect fs case sensitivity based on it's real behavior · Issue #11317 · microsoft/TypeScript · GitHub

TypeScript Version: 1.8.10

Code

In src/compiler/sys.ts there is such line (316):

const useCaseSensitiveFileNames = platform !== "win32" && platform !== "win64" && platform !== "darwin";

It detects case-sensitivity based on platform name, which is considered a bad practice.

I am working on Mac OS system with case-sensitive file system, so it's broken for me (I faced the problem with it while using tsify.

Expected behavior:
File system case sensitivity detection is based on it's real behavior.
Actual behavior:
File system case sensitivity detection is based on platform name.

denisvidyakin, Nedelkin, Vadimhtml, thybzi and llCorvinSll


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4