micromatch / glob-fs

file globbing for node.js. speedy and powerful alternative to node-glob. This library is experimental and does not work on windows!
http://jonschlinkert.github.io/glob-fs
MIT License
55 stars 17 forks source link

dot files are not ignored #11

Open TheMaverickProgrammer opened 8 years ago

TheMaverickProgrammer commented 8 years ago

package: "glob-fs": "^0.1.6"

dot files (.git .gitignore ...) are included in my array results.

mhulse commented 7 years ago

Noticing this as well. "version": "0.1.6".

mhulse commented 7 years ago

TypeError: unsupported file type: undefined (file: /......../.DS_Store

tunnckoCore commented 7 years ago

Node versions? Cuz all was working, I believe.

mhulse commented 7 years ago

Node versions? Cuz all was working, I believe.

Good point. I'm on v6.7.0 (the latest stable at time of this comment), but there could be something up with my system that's different than most people's. Or, I'm using the code wrong.

Sorry to raise any red flags if there are none. :octocat:

tunnckoCore commented 7 years ago

Yea it's possible, but as what I know, this package not uses so strange things to makes things not work between node version. So.. best will be to open issues and give code snippets and expected behaviors.