Skip to content

Commit

Permalink
Double the output buffer for this child process (#1349)
Browse files Browse the repository at this point in the history
* Fixes failure

NOTE:
* Current *node* defaults to 200 * 1024

Auto-merge
  • Loading branch information
Martii authored Apr 18, 2018
1 parent 8c53ed9 commit 193c04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ exports.adminNpmListView = function (aReq, aRes, aNext) {
return;
}

exec('npm ls --json', function (aErr, aStdout, aStderr) {
exec('npm ls --json', { maxBuffer: 400 * 1024 }, function (aErr, aStdout, aStderr) {
var stdout = null;

if (aErr) {
Expand Down

0 comments on commit 193c04c

Please sign in to comment.