Skip to content

Commit cbec717

Browse files
committed
style(cursor): fix prettier linter rule
1 parent cfa62f1 commit cbec717

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/cursor.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ var Cursor = function(bson, ns, cmd, options, topology, topologyOptions) {
156156
var batchSize =
157157
cmd.cursor && cmd.cursor.batchSize
158158
? cmd.cursor && cmd.cursor.batchSize
159-
: options.cursor && options.cursor.batchSize ? options.cursor.batchSize : 1000;
159+
: options.cursor && options.cursor.batchSize
160+
? options.cursor.batchSize
161+
: 1000;
160162

161163
// Set the batchSize
162164
this.setCursorBatchSize(batchSize);

0 commit comments

Comments
 (0)