Rename xy function

This commit is contained in:
Aoran Zeng
2024-11-21 20:17:24 +08:00
parent 5d7a13a56b
commit d7cc74c494
7 changed files with 18 additions and 18 deletions

View File

@@ -33,7 +33,7 @@ pl_haskell_setsrc (char *option)
char *config = NULL;
if (xy_on_windows)
{
config = xy_uniform_path ("~/AppData/Roaming/cabal/config");
config = xy_normalize_path ("~/AppData/Roaming/cabal/config");
}
else
{
@@ -43,7 +43,7 @@ pl_haskell_setsrc (char *option)
chsrc_note2 (xy_strjoin (3, "请向 ", config, " 中手动添加:"));
puts (file); br();
config = xy_uniform_path ("~/.stack/config.yaml");
config = xy_normalize_path ("~/.stack/config.yaml");
file = xy_strjoin (3, "package-indices:\n"
" - download-prefix: ", source.url,
"\n hackage-security:\n"