sindresorhus / gulp-filter

Filter files in a `vinyl` stream
MIT License
315 stars 37 forks source link

Not working with gulp-git #69

Closed Rincewind3d closed 8 years ago

Rincewind3d commented 8 years ago
const f = filter(['!*.min.js']);

return gulp.src(src)
    .pipe(f)
    .pipe(git.rm({args: '-f'}));

--->

Error: Command failed: git rm  -f

If I remove the filter gulp-filter it is working like a charme.

Somehow gulp-git is no longer getting path informations when gulp-filter is used.

sindresorhus commented 8 years ago

You're probably using an incorrect glob pattern. Use gulp-debug to see what files matches your pattern.