From 593c59bd65ac0d36f45cb2ea136114d89f253cb0 Mon Sep 17 00:00:00 2001 From: Priyam Sahoo <42550351+priyamsahoo@users.noreply.github.com> Date: Fri, 16 Feb 2024 12:37:44 +0530 Subject: [PATCH 1/2] Update node 18 and 20 version in CI for tests (#639) * update node 18 version for testing * update node 20 version --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index 555e9757..b216e670 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -nodejs 18.19.0 20.11.0 +nodejs 18.19.1 20.11.1 task 3.33.1 From dcbfafc044866bff0e607f3651c16cf9b2e85081 Mon Sep 17 00:00:00 2001 From: Frank <5943122+fdie@users.noreply.github.com> Date: Fri, 16 Feb 2024 08:23:55 +0100 Subject: [PATCH 2/2] increase the maxBuffer to avoid truncated process stdout resulting in truncated/invalid JSON results (ie. ansible-lint) (#638) Co-authored-by: Frank Diebolt Co-authored-by: Priyam Sahoo <42550351+priyamsahoo@users.noreply.github.com> --- src/utils/commandRunner.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/commandRunner.ts b/src/utils/commandRunner.ts index 08d86d7e..efd4cb2c 100644 --- a/src/utils/commandRunner.ts +++ b/src/utils/commandRunner.ts @@ -69,6 +69,7 @@ export class CommandRunner { encoding: "utf-8", cwd: currentWorkingDirectory, env: runEnv, + maxBuffer: 10 * 1000 * 1000, }); return result;