Skip to content

Commit

Permalink
Enable output of script line for 'run' in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
refack committed Dec 3, 2018
1 parent 8707fe5 commit d476048
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2303,6 +2303,8 @@ def do_run(command, args, three=None, python=False, pypi_mirror=None):
inline_activate_virtual_environment()
try:
script = project.build_script(command, args)
cmd_string = ' '.join([script.command] + script.args)
logging.getLogger("pip").info("Run: '{0}'".format(cmd_string))
except ScriptEmptyError:
click.echo("Can't run script {0!r}-it's empty?", err=True)
if os.name == "nt":
Expand Down

0 comments on commit d476048

Please sign in to comment.