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

fix: Remove dead code from previous server implementation #569

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jan 22, 2023

Our implementation of getLanguage() does have a fallback to English, so it does never return undefined or an empty string.

This conditional was from the server implementation where getLanguage might returned a falsy value.

Out implementation of `getLanguage()` does have a fallback to English,
so it does never return `undefined` or an empty string.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
@susnux susnux added the enhancement New feature or request label Jan 22, 2023
@skjnldsv skjnldsv merged commit 9ebcc9b into master Jan 24, 2023
@skjnldsv skjnldsv deleted the fix/dead-code branch January 24, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants