aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-03-29 20:16:10 +0800
committer苏向夜 <fu050409@163.com>2024-03-29 20:16:10 +0800
commit988627419d2a02cd610b1a6be47270f879a93496 (patch)
tree24162cfbd6681a47854c9fa4c6d54b8956bb7179
parentf4ea29a3590739b898ebd137d2b3d1aa48ce0d3e (diff)
downloadipm-988627419d2a02cd610b1a6be47270f879a93496.tar.gz
ipm-988627419d2a02cd610b1a6be47270f879a93496.zip
fix(init): fix infini.toml won't be create
-rw-r--r--src/ipm/project/toml_file.py2
1 files changed, 1 insertions, 1 deletions
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: