改名
This commit is contained in:
@@ -153,9 +153,7 @@ class Application extends BaseApplication
|
|||||||
$manager = Kiri::app()->get('console');
|
$manager = Kiri::app()->get('console');
|
||||||
$manager->register(Runtime::class);
|
$manager->register(Runtime::class);
|
||||||
$class = $manager->setParameters($argv)->search();
|
$class = $manager->setParameters($argv)->search();
|
||||||
// if (!($class instanceof Command)) {
|
|
||||||
scan_directory(directory('app'), 'App');
|
|
||||||
// }
|
|
||||||
$data = $this->getBuilder($manager->exec($class));
|
$data = $this->getBuilder($manager->exec($class));
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
$data = $this->getBuilder(logger()->exception($exception));
|
$data = $this->getBuilder(logger()->exception($exception));
|
||||||
|
|||||||
Reference in New Issue
Block a user