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

using is-valid-glob module to handle nested arrays properly #73

Merged
merged 1 commit into from
Jul 1, 2015
Merged

using is-valid-glob module to handle nested arrays properly #73

merged 1 commit into from
Jul 1, 2015

Conversation

doowb
Copy link
Member

@doowb doowb commented Jul 1, 2015

If a nested array: [ ['./fixtures/*.coffee'] ] is passed, the current isValidGlob method will return true and glob-stream will end up throwing an 'Invalid glob at index 0` error.

Using is-valid-glob handles this case and causes src to throw an Invalid glob argument: error instead.

Added test to validate.

@yocontra
Copy link
Member

yocontra commented Jul 1, 2015

Nice module - thanks!

yocontra pushed a commit that referenced this pull request Jul 1, 2015
using is-valid-glob module to handle nested arrays properly
@yocontra yocontra merged commit b0295b1 into gulpjs:master Jul 1, 2015
phated pushed a commit that referenced this pull request Dec 5, 2017
using is-valid-glob module to handle nested arrays properly
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

Successfully merging this pull request may close these issues.

2 participants