mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-20 18:05:08 +08:00
Fix group target
This commit is contained in:
@@ -45,7 +45,7 @@ pl_python_pdm_getsrc (char *option)
|
||||
void
|
||||
pl_python_pdm_setsrc (char *option)
|
||||
{
|
||||
Source_t source = chsrc_yield_source (pl_python_group_target, option);
|
||||
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
|
||||
if (chsrc_in_standalone_mode())
|
||||
chsrc_confirm_source(&source);
|
||||
|
||||
|
@@ -41,7 +41,7 @@ pl_python_poetry_getsrc (char *option)
|
||||
void
|
||||
pl_python_poetry_setsrc (char *option)
|
||||
{
|
||||
Source_t source = chsrc_yield_source (pl_python_group_target, option);
|
||||
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
|
||||
if (chsrc_in_standalone_mode())
|
||||
chsrc_confirm_source(&source);
|
||||
|
||||
|
@@ -57,7 +57,7 @@ void
|
||||
pl_python_rye_setsrc (char *option)
|
||||
{
|
||||
/* 并不在 Python group 中,所以不考虑 target group 情况,仅使用 Python group 提供的源 */
|
||||
Source_t source = chsrc_yield_source_and_confirm (pl_python_group_target, option);
|
||||
Source_t source = chsrc_yield_source_and_confirm (&pl_python_group_target, option);
|
||||
|
||||
const char *content = RAWSTR_pl_python_rye_config;
|
||||
|
||||
|
@@ -55,7 +55,7 @@ pl_python_pip_setsrc (char *option)
|
||||
return;
|
||||
}
|
||||
|
||||
Source_t source = chsrc_yield_source (pl_python_group_target, option);
|
||||
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
|
||||
if (chsrc_in_standalone_mode())
|
||||
chsrc_confirm_source(&source);
|
||||
|
||||
|
@@ -111,7 +111,7 @@ pl_python_uv_setsrc (char *option)
|
||||
{
|
||||
chsrc_ensure_program ("uv");
|
||||
|
||||
Source_t source = chsrc_yield_source (pl_python_group_target, option);
|
||||
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
|
||||
if (chsrc_in_standalone_mode())
|
||||
chsrc_confirm_source(&source);
|
||||
|
||||
|
Reference in New Issue
Block a user