We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40db1eb commit 6d53edeCopy full SHA for 6d53ede
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "pangea-cli",
3
- "version": "0.3.0",
+ "version": "0.3.1",
4
"main": "index.js",
5
"preferGlobal": true,
6
"bin": "./index.js",
src/protocols.js
@@ -34,10 +34,8 @@ const loggerProtocolFactory = () =>
34
35
pull(
36
conn,
37
- pull.map(data => {
38
- console.log(data);
39
- return data.toString('utf8').replace('\n', '');
40
- }),
+ pull.map(data => data.toString('utf8').replace('\n', '')),
+ pull.drain(console.log),
41
);
42
});
43
0 commit comments