-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.0.27
-
Component/s: None
-
Labels:
-
Empty show more show less
Since https://github.com/mongodb/node-mongodb-native/commit/d399f7d49c7953597c4ff7ea30c2e4ae39f5b7fa#diff-14b597bc6604e1b7ec69ae786619e979R157 Cursor.count takes an optional `opts` parameter, but the value is hidden by the local variable `var opts = {};`
Found with jshint (W004), which could be added to the project to find all these issues.