Closed TrySound closed 9 years ago
And you can update minimatch version with 2.
/cc @robrich
Interesting idea to make gulp match relative. I believe file.path is
already relative. Would this be for the minimatch expression? If so, that
would get weird if it's a negate expression. I'm also thinking .
may not
be the correct relative path as my vinyl file may have been rooted
somewhere else.
@robrich On windows file.path contains full path with disk.
Then perhaps matching on path.relative would be better.
Or rather file.relative
.
@robrich Thanks!
minimatch works not good with absolute paths. I think more comfortable match relative paths like
gulp.src()
You can get this value bypath.relative('.', file.path)