From 2f76d0da386899a0b8eec75e8cae450c1a6f64ee Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Mon, 10 Aug 2020 11:15:12 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=9B=B4=E6=96=B0=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/command/install/UploadCatchModuleCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/catcher/command/install/UploadCatchModuleCommand.php b/extend/catcher/command/install/UploadCatchModuleCommand.php index 3dc7d08..27126b7 100644 --- a/extend/catcher/command/install/UploadCatchModuleCommand.php +++ b/extend/catcher/command/install/UploadCatchModuleCommand.php @@ -173,7 +173,7 @@ class UploadCatchModuleCommand extends Command { $composerZip = $this->compressZipPath() . $this->module . '_' . time() . '.zip'; - (new Compress())->dirToZip($this->path, $composerZip); + (new Compress())->moduleToZip($this->path, $composerZip); $this->output->info('compress module ' . $this->module . ' successfully'); return $composerZip; @@ -192,7 +192,7 @@ class UploadCatchModuleCommand extends Command return root_path($path) . $this->module. DIRECTORY_SEPARATOR; } - return CatchAdmin::moduleSeedsDirectory($this->module); + return CatchAdmin::moduleDirectory($this->module); } /**