Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

globs nothing when directory contains backets #39

Closed
vicary opened this issue Feb 23, 2015 · 2 comments
Closed

globs nothing when directory contains backets #39

vicary opened this issue Feb 23, 2015 · 2 comments

Comments

@vicary
Copy link

vicary commented Feb 23, 2015

Basically my gulp.src('test/*.js') returns nothing when my process.cwd() contains [] brackets.

Tracing down the gulp dependency tree:

├─┬ gulp@3.8.11
│ └─┬ vinyl-fs@0.3.13
│   ├─┬ glob-stream@3.1.18
│   │ ├─┬ glob@4.4.0

I explicitly installed those versions and here is my test scripts:

require('vinyl-fs')
  .src('test/*.js')
  .on('data', function() { console.log(arguments); }); // no output

require('glob-stream')
  .create('test/*.js')
  .on('data', function() { console.log(arguments); }); // no output

require('glob')('test/*.js', 
  function() { console.log(arguments); }); // lists out my files

Further testing shows that with the current version glob-stream@4.0.1 the problem still occurs.

@heikki
Copy link

heikki commented Feb 23, 2015

isaacs/minimatch#50

@vicary
Copy link
Author

vicary commented Feb 23, 2015

Oh thanks, closing this.

@vicary vicary closed this as completed Feb 23, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants