Closed joakimbeng closed 10 years ago
The bug is right here
https://github.com/wearefractal/glob-stream/blob/master/index.js#L15
I'm not passing the minimatch options along - woops! Will have that fixed soon
Can you test that last commit and see if it solves the problem before I publish?
@contra have tested it now and it indeed works!
@joakimbeng Cool, I think I published it already so npm update
should have you good to go
@contra the repo is still at 3.1.11
, so there's nothing to update yet...
@joakimbeng Sorry about that, done now as 3.1.12
I want to get all files in the current folder, including dot files and excluding all files in a certain subfolder.
Example
What I did:
Contents of
index.js
:When I run
node .
dot files in sub folders tonode_modules
shows up in the output, when I was expecting onlyindex.js, .gitignore, subfolder and subfolder/subfile.js
.UPDATE When changing the patterns to:
I get the expected result, feels a little bit weird though. Maybe this belongs in the
minimatch
repo, what do you think?