Skip to content

Commit

Permalink
fix: increase the command exec buffer to 10MB (#300)
Browse files Browse the repository at this point in the history
Update the command exec buffer to 10MB to allow for larger
`terraform show` output.
  • Loading branch information
patheard authored Feb 22, 2024
1 parent 716f630 commit 32db69c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38195,7 +38195,7 @@ const execCommand = (command, directory) => {
output = proc
.execSync(command.exec, {
cwd: directory,
maxBuffer: 1024 * 5000,
maxBuffer: 1024 * 10000,
})
.toString("utf8");
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const execCommand = (command, directory) => {
output = proc
.execSync(command.exec, {
cwd: directory,
maxBuffer: 1024 * 5000,
maxBuffer: 1024 * 10000,
})
.toString("utf8");
} catch (error) {
Expand Down

0 comments on commit 32db69c

Please sign in to comment.