You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library will read the PathExt environment variable to find file extensions, and try appending them to the input path one-by-one until it finds a match. The file extensions listed in PathExt are all upper-case.
As a result, the isexe check will always return false when the file extension of the executable file is lower-case.
The text was updated successfully, but these errors were encountered:
Gudahtt
added a commit
to Gudahtt/node-which
that referenced
this issue
Aug 2, 2018
Checks for both upper-case and lower-case file extensions. This is to
support case-sensitive directories on Windows.
Mixed-case file extensions still won't work, but those are rare enough
that I don't think it's worth the performance cost to check those as
well.
Closesnpm#57
Windows now features per-directory case-sensitivity. This is explained here: https://blogs.msdn.microsoft.com/commandline/2018/02/28/per-directory-case-sensitivity-and-wsl/
A directory created in the Windows Subsystem for Linux will be case-sensitive by default.
This library will read the
PathExt
environment variable to find file extensions, and try appending them to the input path one-by-one until it finds a match. The file extensions listed inPathExt
are all upper-case.As a result, the
isexe
check will always return false when the file extension of the executable file is lower-case.The text was updated successfully, but these errors were encountered: