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
File system: Mac OS Extended (Case-sensitive, Journaled)
Node.js Version: v8.12.0
fast-glob Version: 2.2.6
Actual behavior
Case-insensitive globbing does not work on case-sensitive file systems.
Expected behavior
Case-insensitive globbing should work on case-sensitive file systems.
Steps to reproduce
Create a case-sensitive volume on and mount it.
Install fast-glob on the case-sensitive volume.
Run the code sample on the case-sensitive volume.
Code sample
varfs=require("fs");varfg=require("fast-glob");fs.writeFileSync('A',"");fg.sync('A');// returns [ 'A' ]// The documentation is ambiguous about how to enable // case-insensitive globbing. I include all four possible// scenarios below since they all return an empty list and // at least one of them should not, per the docs.fg.sync('a',{case: false});fg.sync('a',{case: true});fg.sync('a',{nocase: true});fg.sync('a',{nocase: false});// all return []
The text was updated successfully, but these errors were encountered:
davidmerfield
changed the title
Case-insensitivity not working
Case-insensitive globbing does not work on case-sensitive file systems
Apr 27, 2019
Environment
Actual behavior
Case-insensitive globbing does not work on case-sensitive file systems.
Expected behavior
Case-insensitive globbing should work on case-sensitive file systems.
Steps to reproduce
Code sample
The text was updated successfully, but these errors were encountered: