Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
increase the maxBuffer to avoid truncated process stdout resulting in…
Browse files Browse the repository at this point in the history
… truncated/invalid JSON results (ie. ansible-lint) (#638)

Co-authored-by: Frank Diebolt <frank.diebolt@al-enterprise.com>
Co-authored-by: Priyam Sahoo <42550351+priyamsahoo@users.noreply.github.com>
  • Loading branch information
3 people committed Feb 16, 2024
1 parent 593c59b commit dcbfafc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/commandRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export class CommandRunner {
encoding: "utf-8",
cwd: currentWorkingDirectory,
env: runEnv,
maxBuffer: 10 * 1000 * 1000,
});

return result;
Expand Down

0 comments on commit dcbfafc

Please sign in to comment.