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:
|
||||
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()
|
||||
tty.msg("Successfully removed environment '%s'" % env.name)
|
||||
|
Loading…
Reference in New Issue
Block a user