Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to 1st non-empty language query parameter #442

Merged
merged 2 commits into from
Aug 3, 2020

Conversation

RhobW
Copy link
Contributor

@RhobW RhobW commented Aug 3, 2020

Do not throw an exception if there are multiple "language" query parameters and the first is empty.
Instead use the the first non-empty query parameter.
This is an extension of the following fix:
#380

…meters;

instead use the the first non-empty query parameter.
@mashpie
Copy link
Owner

mashpie commented Aug 3, 2020

jshint needs to get fixed... (will be replaced by standard in future). Will do so on my own short before merge & publish.

@mashpie mashpie added this to the 0.11.0 milestone Aug 3, 2020
@mashpie mashpie self-assigned this Aug 3, 2020
@mashpie
Copy link
Owner

mashpie commented Aug 3, 2020

  • needs (regression) tests

Add unit tests.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 97.881% when pulling 4758d20 on RhobW:master into fb9aa22 on mashpie:master.

@RhobW
Copy link
Contributor Author

RhobW commented Aug 3, 2020

Fixed jshint warnings.
Added unit tests.
(Sorry, I'm a newbie)

@mashpie
Copy link
Owner

mashpie commented Aug 3, 2020

@RhobW Thanks a lot! I started collecting issues & PRs for 0.11.0 and was just about to merge. Perfect timing 👍

@mashpie mashpie merged commit 32de14e into mashpie:master Aug 3, 2020
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.

None yet

3 participants