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

.load() should check if null or undefined is returned and throw an error #4

Open
nknapp opened this issue Mar 16, 2017 · 0 comments
Open

Comments

@nknapp
Copy link
Member

nknapp commented Mar 16, 2017

The function is always expected to return a Customize-instance, but at the moment, it just returns the return value of the parameter-function.

If that function return "null", it will be passed and following commands wil fail (with non-intuitive error-messages)

It should also make sure that a Customize-instance is returned and not (e.g. a string)

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

1 participant