diff --git a/gulpfile.js b/gulpfile.js index 519a074..f592d0d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -98,7 +98,7 @@ function json() { return src(input.data) .pipe(plumber()) .pipe(jsonConcat(hippie.jsonFile +'.json', function(data) { - return new Buffer(JSON.stringify(data)); + return new Buffer.from(JSON.stringify(data)); })) .pipe(dest(output.data)); }