Unverified Commit 25d7ca13 authored by Sheetal Umesh Kumar's avatar Sheetal Umesh Kumar Committed by GitHub

Merge pull request #747 from hypothesis/fix-buffer-warnings

Fix warnings about `Buffer` constructor during `gulp build`
parents d041994c fd82e6e5
...@@ -29,7 +29,7 @@ module.exports = function (opts) { ...@@ -29,7 +29,7 @@ module.exports = function (opts) {
}, function (callback) { }, function (callback) {
var manifestFile = new VinylFile({ var manifestFile = new VinylFile({
path: opts.name, path: opts.name,
contents: new Buffer(JSON.stringify(manifest, null, 2), 'utf-8'), contents: Buffer.from(JSON.stringify(manifest, null, 2), 'utf-8'),
}); });
this.push(manifestFile); this.push(manifestFile);
callback(); callback();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment