From a475e3a396cfe2c53f1527c2b81d4f14ce0d30fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Sun, 16 Apr 2023 17:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-engine/Main.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kiri-engine/Main.php b/kiri-engine/Main.php index 2794a635..0cf38f0e 100644 --- a/kiri-engine/Main.php +++ b/kiri-engine/Main.php @@ -23,7 +23,8 @@ use ReflectionException; use Symfony\Component\Console\{Application as ConsoleApplication, Input\ArgvInput, Output\ConsoleOutput, - Output\OutputInterface}; + Output\OutputInterface +}; /** @@ -120,7 +121,7 @@ class Main extends BaseMain $command = $console->find($input->getFirstArgument()); $scanner = $this->container->get(Scanner::class); - $scanner->read(APP_PATH); + $scanner->read(APP_PATH . 'app/'); fire(new OnBeforeCommandExecute());