From e40000e19922ef4d67d92182778c35a168a1cc7c Mon Sep 17 00:00:00 2001 From: --edit Date: Sun, 7 Nov 2021 09:41:30 +0200 Subject: [PATCH] update --- lib/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index bf4e077..f373286 100644 --- a/lib/main.js +++ b/lib/main.js @@ -190,8 +190,7 @@ Lambda.prototype.deploy = function( program ) { var $zipCmd = "zip -r -9 " + tmpfile + ' ' + zipfileList // maxBuffer specifies the largest amount of data allowed on stdout or stderr - if this value is exceeded then the child process is killed. - // changing default 200KB to 5MB - exec( $zipCmd, { maxBuffer: 1024 * 1024 * 5 } ,function( err, stdout, stderr ) { + exec( $zipCmd, { maxBuffer: 1024 * 1024 * 5 /* 5MB */} ,function( err, stdout, stderr ) { process.chdir($cwd) if ( err ) { console.log("Error generating zip file")