Package: node-gulp / 4.0.2-8

fix-failing-tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix failing tests
--- a/index.js
+++ b/index.js
@@ -22,7 +22,11 @@
 }
 util.inherits(Gulp, Undertaker);
 
-Gulp.prototype.src = vfs.src;
+Gulp.prototype.src = function (glob, opt) {
+  opt = Object.assign({stripBOM: false}, opt);
+  return vfs.src(glob, opt);
+};
+
 Gulp.prototype.dest = vfs.dest;
 Gulp.prototype.symlink = vfs.symlink;
 Gulp.prototype.watch = function(glob, opt, task) {