Skip to content

Commit

Permalink
Merge pull request #167 from lean-dojo/v1.9.0
Browse files Browse the repository at this point in the history
fix the bug related to relative paths
  • Loading branch information
Peiyang-Song authored May 28, 2024
2 parents 6d18448 + 80ad4a0 commit 4d61bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lean_dojo/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
Path(os.environ["CACHE_DIR"])
if "CACHE_DIR" in os.environ
else Path.home() / ".cache/lean_dojo"
)
).absolute()
"""Cache directory for storing traced repos (see :ref:`caching`).
"""

Expand All @@ -37,7 +37,7 @@
"""Whether to disable remote caching (see :ref:`caching`) and build all repos locally.
"""

TMP_DIR = Path(os.environ["TMP_DIR"]) if "TMP_DIR" in os.environ else None
TMP_DIR = Path(os.environ["TMP_DIR"]).absolute() if "TMP_DIR" in os.environ else None
"""Temporary directory used by LeanDojo for storing intermediate files
"""

Expand Down

0 comments on commit 4d61bdd

Please sign in to comment.