Skip to content

Conversation

@andrew-coleman
Copy link
Member

$each() returns an array of values by applying a supplied function to each name/value pair in a given object. If that function returns undefined (no match / empty sequence), then that undefined value is getting added to the result sequence. It shouldn't - it should be flattened out.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d7b48f6 on fix_each into 68201a7 on master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d7b48f6 on fix_each into 68201a7 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d7b48f6 on fix_each into 68201a7 on master.

@mattbaileyuk
Copy link
Member

@andrew-coleman Good spot; planning to push out 1.6.4 with this?

@mattbaileyuk mattbaileyuk merged commit 05c148a into master Jan 10, 2019
@mattbaileyuk mattbaileyuk deleted the fix_each branch January 10, 2019 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants