内部使用新的状态变量判断scope

This commit is contained in:
Aoran Zeng
2026-02-22 21:43:46 +08:00
parent 708092aab2
commit 0b5efcb77d
13 changed files with 20 additions and 24 deletions

View File

@@ -43,7 +43,7 @@ pl_python_poetry_setsrc (char *option)
char *cmd = NULL;
if (!chsrc_in_local_mode())
if (!chsrc_in_project_scope_mode())
chsrc_alert2 ("Poetry 仅支持项目级换源");
cmd = xy_2strcat ("poetry source add my_mirror ", source.url);