Skip to content

Conversation

rmehner
Copy link
Contributor

@rmehner rmehner commented Apr 9, 2018

With the previous change, the url.parse() from envalid stumbled over the empty URL before we even could filter it out.

.filter(Boolean) is a shortcut to remove values that resolve to falsey, but since we already filter out empty values, we don't need it any longer and it also came to late in the chain anyway, as the URL parser craps out earlier.

@rmehner rmehner requested a review from janl April 9, 2018 14:52
@janl janl merged commit 7b269ff into master Apr 9, 2018
@janl janl deleted the fixes/properly-ignore-empty-urls branch April 9, 2018 14:55
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