Core: fix usage of console.status

This commit is contained in:
Oz Tiram
2022-11-13 22:42:05 +01:00
parent da41e09dcb
commit a1b141cfee
+2 -1
View File
@@ -1009,7 +1009,8 @@ def do_create_virtualenv(project, python=None, site_packages=None, pypi_mirror=N
# Actually create the virtualenv.
error = None
with console.status("Creating virtual environment...", project.s) as st:
# TODO: update project setting here
with console.status("Creating virtual environment...") as st:
c = subprocess_run(cmd, env=pip_config)
click.secho(f"{c.stdout}", fg="cyan", err=True)
if c.returncode != 0: