Skip to content

Commit d476048

Browse files
committed
Enable output of script line for 'run' in verbose mode
1 parent 8707fe5 commit d476048

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pipenv/core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,6 +2303,8 @@ def do_run(command, args, three=None, python=False, pypi_mirror=None):
23032303
inline_activate_virtual_environment()
23042304
try:
23052305
script = project.build_script(command, args)
2306+
cmd_string = ' '.join([script.command] + script.args)
2307+
logging.getLogger("pip").info("Run: '{0}'".format(cmd_string))
23062308
except ScriptEmptyError:
23072309
click.echo("Can't run script {0!r}-it's empty?", err=True)
23082310
if os.name == "nt":

0 commit comments

Comments
 (0)