From bdf248d4db30fac4a6c23337e5c4db1e2fa6892a Mon Sep 17 00:00:00 2001 From: Darangi Date: Wed, 18 Dec 2019 17:10:28 +0100 Subject: [PATCH] Increase maxBuffer to fix ENOBUFS error --- script/lib/compress-artifacts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/lib/compress-artifacts.js b/script/lib/compress-artifacts.js index e687aa85b..514d0e4e5 100644 --- a/script/lib/compress-artifacts.js +++ b/script/lib/compress-artifacts.js @@ -62,6 +62,7 @@ function compress(inputDirPath, outputArchivePath) { } compressArguments.push(outputArchivePath, path.basename(inputDirPath)); spawnSync(compressCommand, compressArguments, { - cwd: path.dirname(inputDirPath) + cwd: path.dirname(inputDirPath), + maxBuffer: 2024 * 2024 }); }