Skip to content

Commit

Permalink
Trim spawn stdout/stderr logs
Browse files Browse the repository at this point in the history
  • Loading branch information
John Haley committed Jun 23, 2016
1 parent 3a83ddf commit 0766ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lifecycleScripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ module.exports = function install() {
var spawnedNodePreGyp = spawn(nodePreGyp, args);

spawnedNodePreGyp.stdout.on("data", function(data) {
console.info(data.toString());
console.info(data.toString().trim());
});

spawnedNodePreGyp.stderr.on("data", function(data) {
console.error(data.toString());
console.error(data.toString().trim());
});

spawnedNodePreGyp.on("close", function(code) {
Expand Down

0 comments on commit 0766ee6

Please sign in to comment.