fixed bug
This commit is contained in:
parent
ab9302e790
commit
94052b6e01
@ -55,6 +55,7 @@ abstract class ModuleService extends Service
|
|||||||
if (method_exists($this,'loadCommands') && $this->app->runningInConsole()) {
|
if (method_exists($this,'loadCommands') && $this->app->runningInConsole()) {
|
||||||
list($namespace, $path) = $this->loadCommands();
|
list($namespace, $path) = $this->loadCommands();
|
||||||
|
|
||||||
|
if ($this->app->has('catch_console')) {
|
||||||
$catchConsole = $this->app['catch_console'];
|
$catchConsole = $this->app['catch_console'];
|
||||||
|
|
||||||
$this->commands($catchConsole->setNamespace($namespace)
|
$this->commands($catchConsole->setNamespace($namespace)
|
||||||
@ -62,5 +63,6 @@ abstract class ModuleService extends Service
|
|||||||
->commands());
|
->commands());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user