From 6e7ed8e7a2dbb57f3939f249f6ce6aa08d58ae4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 2 Sep 2021 14:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/Runtime.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Runtime.php b/core/Runtime.php index a6143c27..b1a72a46 100644 --- a/core/Runtime.php +++ b/core/Runtime.php @@ -40,7 +40,7 @@ class Runtime extends Command * @return string * @throws Exception */ - public function execute(InputInterface $input, OutputInterface $output): string + public function execute(InputInterface $input, OutputInterface $output): int { // TODO: Implement onHandler() method. $annotation = Kiri::app()->getAnnotation(); @@ -51,7 +51,7 @@ class Runtime extends Command Kiri::writeFile($config, $this->configEach()); Kiri::writeFile($runtime, serialize($annotation->getLoader())); - return 'ok'; + return 1; }