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

Config null check #198

Merged
merged 2 commits into from
Feb 1, 2015
Merged

Conversation

selfcontained
Copy link
Contributor

When config values are null or undefined (which I realize will cause connection issues), the ENV property check throws an error. Adding a truthy check for the property to harden it slightly and avoid an error from being thrown from somewhere that might not be obvious for users.

wzrdtales added a commit that referenced this pull request Feb 1, 2015
[Convenience] Check if property is set before assuring environment is not null
@wzrdtales wzrdtales merged commit ed29196 into db-migrate:master Feb 1, 2015
@selfcontained selfcontained deleted the config-null-check branch February 2, 2015 02:56
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.

2 participants