Skip to content

Commit

Permalink
[logger] fixed log polling
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Lenz committed Aug 3, 2018
1 parent 40db1eb commit 6d53ede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pangea-cli",
"version": "0.3.0",
"version": "0.3.1",
"main": "index.js",
"preferGlobal": true,
"bin": "./index.js",
Expand Down
6 changes: 2 additions & 4 deletions src/protocols.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ const loggerProtocolFactory = () =>

pull(
conn,
pull.map(data => {
console.log(data);
return data.toString('utf8').replace('\n', '');
}),
pull.map(data => data.toString('utf8').replace('\n', '')),
pull.drain(console.log),
);
});

Expand Down

0 comments on commit 6d53ede

Please # to comment.