diff --git a/gulpfile.js b/gulpfile.js index a0bc0eb54..2ce78b7b2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -124,7 +124,7 @@ function createStringSource(filename, content) { source._read = function () { this.push(new Vinyl({ path: filename, - contents: new Buffer(content), + contents: Buffer.from(content), })); this.push(null); };