Skip to content

Commit

Permalink
Always use readable-stream.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorribas committed Mar 21, 2015
1 parent 9f8dda2 commit f279cbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/aggregation-cursor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var util = require('util');
var thunky = require('thunky');
var Cursor = require('./cursor');
var Readable = require('stream').Readable || require('readable-stream');
var Readable = require('readable-stream').Readable;

var AggregationCursor = function(opts) {
Cursor.call(this, opts);
Expand Down
2 changes: 1 addition & 1 deletion lib/cursor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var util = require('util');
var pump = require('pump');
var thunky = require('thunky');
var Readable = require('stream').Readable || require('readable-stream');
var Readable = require('readable-stream').Readable;

var noop = function() {};

Expand Down

0 comments on commit f279cbb

Please sign in to comment.