-
Notifications
You must be signed in to change notification settings - Fork 61
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 not working anymore #23
Comments
Thanks for the report, I'm looking into it! |
Hi @rastkojokic, the test suite covers this case, and it's still passing, so I'm not sure what's going on here. Could you post a larger code snippet? Also are you using v2.4.2 direct from npm? |
Default works for me |
I double-checked on one of my projects last night and it's working for me too. @rastkojokic what is the output for SOME_VAR in your case? Undefined, or does it throw an error? |
Closing until we can get a repro case or more information |
Hey guys! It seems that from the [https://github.com/af/envalid/commit/68f95bd4012b3f3017a67e0f50a2dece1de0ce00](last commit) default is not working anymore... This part of the code haven't exported the variable:
The text was updated successfully, but these errors were encountered: