change message

This commit is contained in:
Jerry 2023-01-28 13:39:10 +08:00
parent 4bf3226adf
commit abe85f7f97

View File

@ -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;
}