Skip to content

Commit

Permalink
properly fixed the default stream
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Nov 22, 2013
1 parent 021da85 commit 2ce40f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/default_stream.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var through = require('through');
var duplexer = require('duplexer');
var combine = require('stream-combiner');
var split = require('split');

module.exports = function () {
return duplexer(split(), through(write));
return combine(split(), through(write));

function write (line) {
console.log(line);
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"jsonify" : "~0.0.0",
"deep-equal" : "~0.1.0",
"defined" : "~0.0.0",
"through": "~2.3.4"
"through": "~2.3.4",
"stream-combiner": "~0.0.2",
"split": "~0.2.10"
},
"devDependencies" : {
"tap" : "~0.3.0",
Expand Down

0 comments on commit 2ce40f5

Please sign in to comment.