Skip to content

Commit

Permalink
Merge pull request #3600 from snyk/fix/increase-buffer-size
Browse files Browse the repository at this point in the history
fix: increase buffer size
  • Loading branch information
YairZ101 authored Aug 17, 2022
2 parents bc908f9 + 8079fe3 commit d1b7560
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 d1b7560

Please sign in to comment.