Skip to content

Conversation

@violet-hall-verna
Copy link

Calling &Map.get/2 on an empty list throws an error. Instead we can return an empty map and provide a default to &Map.get/3 to correctly do nothing instead erroring.

Signed-off-by: Violet Hall <violet.hall@verna.earth>
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.

1 participant