改名
This commit is contained in:
@@ -140,8 +140,7 @@ class Application extends BaseApplication
|
||||
/** @var Console $manager */
|
||||
$manager = Snowflake::app()->get('console');
|
||||
$manager->register(Runtime::class);
|
||||
$manager->setParameters($argv);
|
||||
$class = $manager->search();
|
||||
$class = $manager->setParameters($argv)->search();
|
||||
if (!($class instanceof Command)) {
|
||||
scan_directory(directory('app'), 'App');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user