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

Small fix: Handle all checks on process.env, not just NODE_ENV #248

Merged
merged 1 commit into from Mar 30, 2020

Conversation

FredKSchott
Copy link
Owner

Previously we were only handling NODE_ENV checks, while some packages have special checks for other env variables, meant only to be run in the Node context (ex: if (process.env.FOOBAR) { // do something node-only ).

This is a small fix to handle those checks as well (effectively sets all other env variables to undefined / falsey).

@FredKSchott FredKSchott merged commit cf2dca2 into master Mar 30, 2020
@FredKSchott FredKSchott deleted the fix-process-env branch March 30, 2020 03:42
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

1 participant