chore: some cleanup

This commit is contained in:
Daylin Morgan 2023-12-28 08:52:46 -06:00
parent 726cef3092
commit 96eb08af6a
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -1033,7 +1033,6 @@ class ViVenv:
self.ensure() self.ensure()
self.touch() self.touch()
# TODO: get username for directories below
try: try:
if self.loaded or keep or run_mode == "persist": if self.loaded or keep or run_mode == "persist":
common() common()
@ -1514,9 +1513,7 @@ class Viv:
vivenv = self._match_vivenv(vivenv_id) vivenv = self._match_vivenv(vivenv_id)
bin = vivenv.path / "bin" / cmd bin = vivenv.path / "bin" / cmd
vivenv.bin_exists(bin.name) vivenv.bin_exists(bin.name)
full_cmd = [str(bin), *rest] full_cmd = [str(bin), *rest]
# TODO: use subprocess_run_quit # TODO: use subprocess_run_quit
@ -1988,7 +1985,6 @@ class Cli:
"list", "list",
"shim", "shim",
"run", "run",
# "exe",
"env", "env",
"freeze", "freeze",
"manage", "manage",