We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
list components
right now the functions look like this:
return fugazi.components.registry.getModule(props.path).getCommands().map(componentToStruct);
but if fugazi.components.registry.getModule(props.path) returns undefined then the error message is:
fugazi.components.registry.getModule(props.path)
undefined
Cannot read property 'getCommands' of undefined
instead first the commands need to check whether the module exists, if not return that as an error message and only if it does continue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
right now the functions look like this:
but if
fugazi.components.registry.getModule(props.path)
returnsundefined
then the error message is:instead first the commands need to check whether the module exists, if not return that as an error message and only if it does continue
The text was updated successfully, but these errors were encountered: