summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /gulpfile.js
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
downloadwallet-core-bbff7403fbf46f9ad92240ac213df8d30ef31b64.tar.gz
wallet-core-bbff7403fbf46f9ad92240ac213df8d30ef31b64.tar.bz2
wallet-core-bbff7403fbf46f9ad92240ac213df8d30ef31b64.zip
update packages
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js3
1 files changed, 2 insertions, 1 deletions
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));