From 0b84868a4f9be58a867b12937808017015a62546 Mon Sep 17 00:00:00 2001 From: develar Date: Mon, 29 Aug 2016 07:33:06 +0200 Subject: [PATCH] fix(squirrel.windows): stdout maxBuffer exceeded Closes #709 --- src/targets/squirrelPack.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/targets/squirrelPack.ts b/src/targets/squirrelPack.ts index 2db1d6d0610..3fd74e0045e 100644 --- a/src/targets/squirrelPack.ts +++ b/src/targets/squirrelPack.ts @@ -180,7 +180,9 @@ async function releasify(options: SquirrelOptions, nupkgPath: string, outputDire "--releasify", nupkgPath, "--releaseDir", outputDirectory ] - const out = (await exec(process.platform === "win32" ? path.join(options.vendorPath, "Update.com") : "mono", prepareArgs(args, path.join(options.vendorPath, "Update-Mono.exe")))).trim() + const out = (await exec(process.platform === "win32" ? path.join(options.vendorPath, "Update.com") : "mono", prepareArgs(args, path.join(options.vendorPath, "Update-Mono.exe")), { + maxBuffer: 4 * 1024000, + })).trim() if (debug.enabled) { debug(out) }