File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1536,7 +1536,7 @@ export class Collection implements OperationParent {
1536
1536
let reduce = args . length ? args . shift ( ) : undefined ;
1537
1537
let finalize = args . length ? args . shift ( ) : undefined ;
1538
1538
let command = args . length ? args . shift ( ) : undefined ;
1539
- const options = args . length ? args . shift ( ) || { } : { } ;
1539
+ let options = args . length ? args . shift ( ) || { } : { } ;
1540
1540
1541
1541
// Make sure we are backward compatible
1542
1542
if ( ! ( typeof finalize === 'function' ) ) {
@@ -1564,6 +1564,8 @@ export class Collection implements OperationParent {
1564
1564
// Set up the command as default
1565
1565
command = command == null ? true : command ;
1566
1566
1567
+ options = resolveInheritedOptions ( this , options ) ;
1568
+
1567
1569
if ( command == null ) {
1568
1570
return executeOperation (
1569
1571
getTopology ( this ) ,
You can’t perform that action at this time.
0 commit comments