Closed phated closed 8 years ago
@phated ~~Can't hurt to do it here I suppose, but not strictly necessary with up-to-date glob? https://github.com/isaacs/node-glob/blob/master/common.js#L31-L32~~
Aargh, nevermind, I guess it's still not strictly necessary but not for the reason I thought this morning (but because concat accepts single values as well as arrays).
It's just that I happened to see the isArray check in glob and then here in quick succession.
Ah, I'll keep it here then.
We normalize many options passed to
node-glob
and we are combiningignore
and negative globs so it might make sense to normalize a string forignore
to an array (node-glob
only accepts an array).Kind of dependent on #74