Skip to content

Commit

Permalink
Bugfix: limit didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
avinoamr committed Jun 18, 2015
1 parent 4da4844 commit e54b047
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fs.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Cursor.prototype._load = function () {

if ( skip-- <= 0 ) {
results.push( obj );
limit -= 1;
}

})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dbstream-fs",
"version": "1.0.4",
"version": "1.0.5",
"description": "File-system based database compatible with the Database Stream API",
"main": "fs.js",
"scripts": {
Expand Down

0 comments on commit e54b047

Please sign in to comment.