Skip to content

Commit 0766ee6

Browse files
author
John Haley
committed
Trim spawn stdout/stderr logs
1 parent 3a83ddf commit 0766ee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lifecycleScripts/install.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ module.exports = function install() {
3333
var spawnedNodePreGyp = spawn(nodePreGyp, args);
3434

3535
spawnedNodePreGyp.stdout.on("data", function(data) {
36-
console.info(data.toString());
36+
console.info(data.toString().trim());
3737
});
3838

3939
spawnedNodePreGyp.stderr.on("data", function(data) {
40-
console.error(data.toString());
40+
console.error(data.toString().trim());
4141
});
4242

4343
spawnedNodePreGyp.on("close", function(code) {

0 commit comments

Comments
 (0)