You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a module having Drush commands that should only be registered if a certain other module is installed. If I try to do this using Drush 11, I get the following error:
In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
The service "drush.command.services" has a dependency on a non-existent service "wmscaffold.commands.wmmodel".
To Reproduce
Add a service provider removing a command definition, eg.
Describe the bug
I have a module having Drush commands that should only be registered if a certain other module is installed. If I try to do this using Drush 11, I get the following error:
To Reproduce
Add a service provider removing a command definition, eg.
Expected behavior
Not throw an exception.
Actual behavior
An exception was thrown.
Workaround
/
System Configuration
Additional information
/
The text was updated successfully, but these errors were encountered: