Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
fix(cursor): typo in _find()
Browse files Browse the repository at this point in the history
  • Loading branch information
joanrieu authored and mbroadst committed Aug 7, 2018
1 parent fcff104 commit 95f7fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Cursor.prototype._find = function(callback) {
Array.isArray(result.documents) &&
result.documents.length === 1 &&
(!self.cmd.find || (self.cmd.find && self.cmd.virtual === false)) &&
(result.documents[0].cursor !== 'string' ||
(typeof result.documents[0].cursor !== 'string' ||
result.documents[0]['$err'] ||
result.documents[0]['errmsg'] ||
Array.isArray(result.documents[0].result))
Expand Down

0 comments on commit 95f7fd2

Please sign in to comment.