-
Notifications
You must be signed in to change notification settings - Fork 30
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
Empty message content throws E_MISSING_MESSAGE #57
Comments
That might be a globalize thing since cldrjs doesn't throw that error. |
Please, could you file an issue there? |
Ah, sorry, the error is indeed thrown by globalize, but the problem is in cldrjs, specifically |
Oh, ok. Reopening then... It indeed should return undefined if the path doesn't exist, but the actual value otherwise. Feel free you like to submit a PR and thanks! |
Hi, I submitted a PR for this issue, would you consider accepting it and deploying a new release? |
Sorry for the delay, just reviewed it. |
I'm sorry for pushing this - I know we are in the middle of the holiday season, please review an updated PR whenever you have the time. Thanks! |
Hi,
cldrjs
get
method throws E_MISSING_MESSAGE error when message content is an empty string.{ "someProp": "" }
.I'm aware that an empty string is a "falsy" value, but still, it is a valid message content and it should be returned.
The text was updated successfully, but these errors were encountered: