Skip to content

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

@nknapp

Description

@nknapp

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions