dalen / puppet-puppetdbquery

Query functions for PuppetDB
Apache License 2.0
198 stars 71 forks source link

Incorrect memo processing in reduce() #88

Closed andvgal closed 8 years ago

andvgal commented 8 years ago

The last statement does not properly return memo value in reduce() block leading to "unknown .key? method" errors on next iterations.

NOTE: I have not tested particular PR code, but it's the same simple change I have made locally.