From 988627419d2a02cd610b1a6be47270f879a93496 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Fri, 29 Mar 2024 20:16:10 +0800 Subject: fix(init): fix infini.toml won't be create --- src/ipm/project/toml_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ipm/project/toml_file.py b/src/ipm/project/toml_file.py index e28eb1f..4bcfaff 100644 --- a/src/ipm/project/toml_file.py +++ b/src/ipm/project/toml_file.py @@ -19,7 +19,7 @@ def init_infini( entry_file: str, default_entries: List[str], ) -> None: - toml_path = target_path.joinpath("pyproject.toml") + toml_path = target_path.joinpath("infini.toml") if toml_path.exists(): toml_data = tomlkit.loads(toml_path.read_text(encoding="utf-8")) else: -- cgit v1.2.3-70-g09d2