mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-12 12:13:15 -06:00
fix: don't make extra directory in ephemeral directory
This commit is contained in:
parent
873310d900
commit
153d9fe774
1 changed files with 1 additions and 3 deletions
|
@ -1725,9 +1725,7 @@ class Viv:
|
|||
if run_mode == "ephemeral":
|
||||
new_cache = tmpdir
|
||||
elif run_mode == "semi-ephemeral":
|
||||
new_cache = str(
|
||||
Path(tempfile.gettempdir()) / "viv-ephemeral-cache" / "venvs"
|
||||
)
|
||||
new_cache = str(Path(tempfile.gettempdir()) / "viv-ephemeral-cache")
|
||||
|
||||
env.update({"VIV_CACHE": new_cache})
|
||||
os.environ["VIV_CACHE"] = new_cache
|
||||
|
|
Loading…
Reference in a new issue