chore: remove absolute root
Some checks failed
build / build (push) Failing after 2m30s
build / build (pull_request) Failing after 2m29s

This commit is contained in:
李衍志523370910113 2025-02-27 16:27:43 +08:00
parent 9fff4a9aca
commit aa678484ee

View File

@ -59,7 +59,6 @@ def convert(
Convert given dir of JOJ3 toml config files to JOJ3 json config files Convert given dir of JOJ3 toml config files to JOJ3 json config files
""" """
logger.info(f"Converting files in {root.absolute()}") logger.info(f"Converting files in {root.absolute()}")
root = root.absolute()
for repo_toml_path in root.glob("**/repo.toml"): for repo_toml_path in root.glob("**/repo.toml"):
repo_path = repo_toml_path.parent repo_path = repo_toml_path.parent
repo_obj = rtoml.loads(repo_toml_path.read_text()) repo_obj = rtoml.loads(repo_toml_path.read_text())