mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-13 16:10:05 +08:00
fix(plugin_store): 移除安装插件时多余的目标路径参数传递 (#2138)
移除了 StoreManager 中 download_files 方法调用时的 sparse_path 和 target_dir 参数,这些参数不再需要。
This commit is contained in:
@@ -370,8 +370,6 @@ class StoreManager:
|
|||||||
download_files,
|
download_files,
|
||||||
branch,
|
branch,
|
||||||
repo_type=repo_type,
|
repo_type=repo_type,
|
||||||
sparse_path=replace_module_path,
|
|
||||||
target_dir=target_dir,
|
|
||||||
)
|
)
|
||||||
if not result.success:
|
if not result.success:
|
||||||
raise PluginStoreException(result.error_message)
|
raise PluginStoreException(result.error_message)
|
||||||
|
|||||||
Reference in New Issue
Block a user