From b1c2497cfc603f04432e164a57abbb5ab4e999fe Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Thu, 22 Dec 2022 10:33:39 +0100 Subject: [PATCH] processes params length thuncation fix --- lib/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util.js b/lib/util.js index 0682155..b7de28d 100644 --- a/lib/util.js +++ b/lib/util.js @@ -280,7 +280,7 @@ function parseHead(head, rights) { space = head[i] === ' '; } } - to = 1000; + to = 2000; result.push({ from: from, to: to, @@ -423,7 +423,7 @@ function powerShellRelease() { function powerShell(cmd) { if (_psPersistent) { - const id = Math.random().toString(36).substr(2, 10); + const id = Math.random().toString(36).substring(2, 12); return new Promise((resolve) => { process.nextTick(() => { function callback(data) {