mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Core: fix usage of console.status
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user