Last 12 weeks · 0 commits
4 of 6 standards met
Version 5.0.0 works ok, version 5.0.1 broken. Looks like a change was made between 5.0.0 and 5.0.1 and now filter just skips everything. Here's a simplified code snippet which: function(svn_revision){ var xmlFilter = filter("../*/.xml", {restore: true}); return gulp.src([ "../Setup/Installed/Data/Http/Templates/*/", ], { base : '../' }) .pipe(xmlFilter) .pipe(replace('@PRODUCT_SVN_BUILD@', svn_revision)) .pipe(xmlFilter.restore) .pipe(gulp.dest("../BinRepo/Templates")); }, Expected behavior: All xml files should have @PRODUCT_SVN_BUILD@ replaced. Actual behavior: Looks like they're just written to dest folder. UPD: Looks like 5.0.0 doesn't work on Linux IssueHunt Summary sindresorhus has been rewarded. Backers (Total: $40.00) issuehunt ($40.00) Submitted pull Requests #25 Add function and component Tips Checkout the Issuehunt explorer to discover more funded issues. Need some help from other developers? Add your repositories on IssueHunt to raise funds.
Repository: sindresorhus/gulp-filter. Description: Filter files in a `vinyl` stream Stars: 312, Forks: 34. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: filter, gulp-plugin, javascript, nodejs. Latest release: v10.0.0 (4mo ago). Open PRs: 0, open issues: 0. Last activity: 4mo ago. Community health: 85%. Top contributors: sindresorhus, nfroidure, cb1kenobi, pioug, mariocasciaro, gucong3000, duncanbeevers, leocaseiro, hoho, mjeanroy and others.