Skip to content

Commit 2aeeaa8

Browse files
authored
Merge pull request #7950 from cdimitroulas/backport-aggregate-options-bugfix
Backport aggregate options bugfix from #6011
2 parents 75daf18 + b10cc98 commit 2aeeaa8

File tree

3 files changed

+509
-507
lines changed

3 files changed

+509
-507
lines changed

lib/aggregate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ Aggregate.prototype.allowDiskUse = function(value) {
564564
*/
565565

566566
Aggregate.prototype.option = function(value) {
567-
for (var key in Object.keys(value)) {
567+
for (var key in value) {
568568
this.options[key] = value[key];
569569
}
570570
return this;

0 commit comments

Comments
 (0)