Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating to log response details to stdout

  • Loading branch information...
commit fb5727ca5796a88b3e420577403ba2891bd8753d 1 parent 90a80b8
@geek geek authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 bin/broadcast
View
5 bin/broadcast
@@ -109,10 +109,7 @@ internals.request = function (payload) {
console.error(err);
});
- res.on('readable', function () {
-
- res.read(); // Prevent mem leak
- });
+ res.pipe(process.stdout); // Pipe any response details to stdout
});
req.on('error', function (err) {
Please sign in to comment.
Something went wrong with that request. Please try again.