-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
🎁 Rewarded on IssuehuntThis issue has been rewarded on IssuehuntThis issue has been rewarded on Issuehuntbug
Description
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
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
gchamon and Plonq
Metadata
Metadata
Assignees
Labels
🎁 Rewarded on IssuehuntThis issue has been rewarded on IssuehuntThis issue has been rewarded on Issuehuntbug