Skip to content

Commit

Permalink
redirect npm install stdout to /dev/null to avoid reaching max buffer…
Browse files Browse the repository at this point in the history
… values of child_process.exec
  • Loading branch information
Pierre-Gilles committed Mar 3, 2018
1 parent 0995f7c commit c948d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/module/module.install.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function gitClone(url, path){
* NPM install a specific directory
*/
function npmInstall(path){
return exec(`npm install --prefix ${path}`);
return exec(`npm install --prefix ${path} > /dev/null`);
}

/**
Expand Down

0 comments on commit c948d59

Please sign in to comment.