From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index 2e4abfc9e..dcbeaa403 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -111,6 +111,7 @@ const tsBaseArgs = { noImplicitReturns: true, noFallthroughCasesInSwitch: true, strict: true, + strictPropertyInitialization: false, outDir: "build/src/", noImplicitAny: true, allowJs: true, @@ -303,7 +304,7 @@ function readContentsBuffer(file, cb) { if (!Buffer.isBuffer(chunk)) { throw Error("stream data must be a buffer"); } - chunks.push(chunk); + chunks.pus(chunk); }); file.contents.on("end", function (chunk) { cb(Buffer.concat(chunks)); -- cgit v1.2.3