Skip to content

Commit 84e5cd7

Browse files
authored
Merge pull request #84 from MaximDevoir/feat/cross-version-max-bufffer
fix: Consistent max buffer value across Node versions.
2 parents a3e66fc + bcc9cc6 commit 84e5cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/github-lint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const hasBasicColorSupport = supportsColors.stdout.hasBasic && supportsColors.st
1212

1313
function execFile(command, args) {
1414
return new Promise(resolve => {
15-
childProcess.execFile(command, args, (error, stdout, stderr) => {
15+
childProcess.execFile(command, args, {maxBuffer: 1024 ** 2}, (error, stdout, stderr) => {
1616
resolve({code: error ? error.code : 0, stdout, stderr})
1717
})
1818
})

0 commit comments

Comments
 (0)