Print environment name when removing active env (#12198)
This commit is contained in:
parent
d973fca00e
commit
a948954886
@ -249,7 +249,8 @@ def env_remove(args):
|
|||||||
|
|
||||||
for env in read_envs:
|
for env in read_envs:
|
||||||
if env.active:
|
if env.active:
|
||||||
tty.die("Environment %s can't be removed while activated.")
|
tty.die("Environment %s can't be removed while activated."
|
||||||
|
% env.name)
|
||||||
|
|
||||||
env.destroy()
|
env.destroy()
|
||||||
tty.msg("Successfully removed environment '%s'" % env.name)
|
tty.msg("Successfully removed environment '%s'" % env.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user