Skip to content

Commit

Permalink
fixup! use click.echo
Browse files Browse the repository at this point in the history
  • Loading branch information
refack committed Dec 4, 2018
1 parent d476048 commit ceafd5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,8 @@ def do_run(command, args, three=None, python=False, pypi_mirror=None):
try:
script = project.build_script(command, args)
cmd_string = ' '.join([script.command] + script.args)
logging.getLogger("pip").info("Run: '{0}'".format(cmd_string))
if environments.is_verbose():
click.echo(crayons.normal("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 ceafd5b

Please sign in to comment.