Skip to content

handle empty array being returned by locationiq#211

Merged
nchaulet merged 2 commits intonchaulet:masterfrom
michaelpuzon:master
Apr 9, 2017
Merged

handle empty array being returned by locationiq#211
nchaulet merged 2 commits intonchaulet:masterfrom
michaelpuzon:master

Conversation

@michaelpuzon
Copy link

As I have been using this library, I noticed responseData.map errors out on empty arrays returned by locationiq. This code is to handle that error.

@nchaulet
Copy link
Owner

Thanks for the PR. Could you fix the tests before I merge ? https://travis-ci.org/nchaulet/node-geocoder/jobs/209928920

@michaelpuzon
Copy link
Author

Tests should be fixed now.

@nchaulet
Copy link
Owner

nchaulet commented Apr 9, 2017

Thanks 👍

@nchaulet nchaulet merged commit 1ef3916 into nchaulet:master Apr 9, 2017
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.

2 participants