Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

bug950836 - don't throw if bad config #29

Merged
merged 1 commit into from
Dec 17, 2013

Conversation

alicoding
Copy link
Collaborator

listSupportedLang = _.remove(listSupportedLang, function(l) {
return l !== locale;
});
options.supported_languages = _.remove(options.supported_languages, function(l) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to modify this list? It looks like it's not used after this line. It also seems weird to modify an array that the user passed in, even if we control the array.

@alicoding alicoding merged commit ccdf7e8 into mozilla:master Dec 17, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants