fixed bug

This commit is contained in:
JaguarJack 2020-07-20 17:03:49 +08:00
parent ab9302e790
commit 94052b6e01

View File

@ -55,6 +55,7 @@ abstract class ModuleService extends Service
if (method_exists($this,'loadCommands') && $this->app->runningInConsole()) {
list($namespace, $path) = $this->loadCommands();
if ($this->app->has('catch_console')) {
$catchConsole = $this->app['catch_console'];
$this->commands($catchConsole->setNamespace($namespace)
@ -62,5 +63,6 @@ abstract class ModuleService extends Service
->commands());
}
}
}
}