重命名为 xy_quiet_cmd()

This commit is contained in:
Aoran Zeng
2025-08-27 15:13:15 +08:00
parent cf07b13776
commit 9f52a4d2be
6 changed files with 23 additions and 26 deletions

View File

@@ -53,7 +53,7 @@ pl_go_prelude ()
void
pl_go_check_cmd ()
{
char *check_cmd = xy_str_to_quietcmd ("go version");
char *check_cmd = xy_quiet_cmd ("go version");
bool exist = query_program_exist (check_cmd, "go", Noisy_When_Exist|Noisy_When_NonExist);
if (!exist)

View File

@@ -78,7 +78,7 @@ pl_js_yarn_setsrc (char *option)
// 不能直接退出,因为 Leader target 不能就此结束
return;
}
// 不再阻止换源命令输出到终端,即不再调用 xy_str_to_quietcmd()
// 不再阻止换源命令输出到终端,即不再调用 xy_quiet_cmd()
cmd = xy_2strcat ("yarn config set registry ", source.url);
chsrc_run (cmd, RunOpt_No_Last_New_Line);
}