From abe85f7f97be4be9f16546982eb6f91512ae10f0 Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 28 Jan 2023 13:39:10 +0800 Subject: [PATCH] change message --- src/ZM/Command/Plugin/PluginInstallCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZM/Command/Plugin/PluginInstallCommand.php b/src/ZM/Command/Plugin/PluginInstallCommand.php index 540b6bf1..030acca7 100644 --- a/src/ZM/Command/Plugin/PluginInstallCommand.php +++ b/src/ZM/Command/Plugin/PluginInstallCommand.php @@ -69,7 +69,7 @@ class PluginInstallCommand extends PluginCommand return static::FAILURE; } if (!file_exists($plugin_dir . '/' . $name . '/zmplugin.json')) { - $this->error('项目不存在 zmplugin.json 插件元信息,无法安装'); + $this->error('项目不存在 zmplugin.json 插件元信息,无法安装,请手动删除目录 ' . $name); // TODO: 使用 rmdir 和 unlink 删除 git 目录 return static::FAILURE; }