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

Question about environment validation #135

Open
wesdeveloper opened this issue Jul 2, 2019 · 2 comments
Open

Question about environment validation #135

wesdeveloper opened this issue Jul 2, 2019 · 2 comments

Comments

@wesdeveloper
Copy link

if (isDev && !isTest) {

Why would you verify if its isDev and not isTest simultaneously? To me, that makes no sense because if isDev is true, isTest will never be.

@EQuimper
Copy link
Owner

Umh I dont remember why I did that. But yes good catch

@EQuimper
Copy link
Owner

@wesdeveloper I think this was just to make sure it is in prod.

So if dev is false this can be test or prod

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

No branches or pull requests

2 participants