Skip to content

Commit

Permalink
make text more descriptive when removing an activate
Browse files Browse the repository at this point in the history
proxy
  • Loading branch information
Niko Pasanen committed Dec 20, 2020
1 parent 4b4c00b commit 0220d57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions venvlink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,10 @@ def _check_no_venv_in_workdir(self, workdir, project_name, venvname="venv"):

venvdir_dst = workdir / venvname
if venvdir_dst.exists():
print(f'The "{venvdir_dst}" exists already!')
print("Do you want to remove it?")
print(f'The activate proxy inside "{venvdir_dst}" exists already!')
print(
"Do you want to remove it? (This will remove just the link, not the virtual environment it is linked to)"
)

prompt = "[Y] Yes [A] Abort: "
validator = partial(is_in_accepted_values, accepted_values={"Y", "A"})
Expand Down

0 comments on commit 0220d57

Please sign in to comment.