Skip to content

Commit

Permalink
Merge pull request #84 from MaximDevoir/feat/cross-version-max-bufffer
Browse files Browse the repository at this point in the history
fix: Consistent max buffer value across Node versions.
  • Loading branch information
koddsson committed Dec 17, 2019
2 parents a3e66fc + bcc9cc6 commit 84e5cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/github-lint.js
Expand Up @@ -12,7 +12,7 @@ const hasBasicColorSupport = supportsColors.stdout.hasBasic && supportsColors.st

function execFile(command, args) {
return new Promise(resolve => {
childProcess.execFile(command, args, (error, stdout, stderr) => {
childProcess.execFile(command, args, {maxBuffer: 1024 ** 2}, (error, stdout, stderr) => {
resolve({code: error ? error.code : 0, stdout, stderr})
})
})
Expand Down

0 comments on commit 84e5cd7

Please sign in to comment.