From 44c8beac5143af36bc99bcb688fa1beb0c55fd96 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 22 Aug 2023 21:51:08 -0500 Subject: [PATCH] refactor: remove more redundant calls --- src/viv/viv.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index 78f6ddd..d5d6463 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -52,7 +52,7 @@ from typing import ( Union, ) -__version__ = "23.8b2-13-g1f0eed9-dev" +__version__ = "23.8b2-13-g0136568-dev" class Spinner: @@ -1813,7 +1813,6 @@ class Viv: vivenv = ViVenv(spec + deps) with vivenv.use(keep=keep): vivenv.ensure() - vivenv.touch() vivenv.meta.write() subprocess_run_quit( [vivenv.python, "-S", scriptpath, *rest], @@ -1852,9 +1851,7 @@ class Viv: vivenv = ViVenv(spec) with vivenv.use(keep=keep): - # TODO: refactor this logic elsewhere if keep or Env().viv_run_mode != "ephemeral": - vivenv.touch() vivenv.meta.write(vivenv.path / "vivmeta.json") vivenv.bin_exists(bin)