Skip to content

Commit

Permalink
fix: increase buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
YairZ101 committed Aug 17, 2022
1 parent bc908f9 commit 8079fe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/iac/test/v2/scan/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ function scanWithConfig(
const process = childProcess.spawnSync(policyEnginePath, args, {
encoding: 'utf-8',
stdio: 'pipe',
maxBuffer: 1024 * 1024 * 10, // The default value is 1024 * 1024, if we see in the future that multiplying it by 10 is not enough we can increase it further.
});

debug('policy engine standard error:\n%s', '\n' + process.stderr);
Expand Down

0 comments on commit 8079fe3

Please sign in to comment.