File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default class AggregationCursor extends ShellApiClass {
30
30
return results ;
31
31
}
32
32
33
- for ( let i = 0 ; i < 20 ; i ++ ) { // TODO: ensure that assigning cursor doesn't iterate
33
+ for ( let i = 0 ; i < 20 ; i ++ ) {
34
34
if ( ! await this . hasNext ( ) ) {
35
35
break ;
36
36
}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export default class Cursor extends ShellApiClass {
33
33
return results ;
34
34
}
35
35
36
- for ( let i = 0 ; i < 20 ; i ++ ) { // TODO: ensure that assigning cursor doesn't iterate
36
+ for ( let i = 0 ; i < 20 ; i ++ ) {
37
37
if ( ! await this . hasNext ( ) ) {
38
38
break ;
39
39
}
Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ export default class ShellApi extends ShellApiClass {
81
81
@returnsPromise
82
82
async it ( ) : Promise < any > {
83
83
if ( ! this . internalState . currentCursor ) {
84
- // TODO: warn here
85
84
return new CursorIterationResult ( ) ;
86
85
}
87
86
return await this . internalState . currentCursor . _it ( ) ;
You can’t perform that action at this time.
0 commit comments