Skip to content

Commit

Permalink
set maxBuffer: Infinity ElektraInitiative#2037
Browse files Browse the repository at this point in the history
  • Loading branch information
omnidan committed Jun 19, 2018
1 parent 6703413 commit d11f47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/web/kdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const trimNewline = (str) =>

// execute a script while catching and parsing errors
const safeExec = (script) => new Promise((resolve, reject) =>
exec(script, (err, stdout, stderr) => {
exec(script, { maxBuffer: Infinity }, (err, stdout, stderr) => {
if (err) {
const errors = err.message.split('\n')
// ignore error if it's "key not found"
Expand Down

0 comments on commit d11f47d

Please sign in to comment.