Skip to content

Commit

Permalink
Merge pull request #5628 from ryan-rozario/main
Browse files Browse the repository at this point in the history
Message for Pipfile.lock packages vulnerabilities check
  • Loading branch information
matteius authored Mar 10, 2023
2 parents 8c8d3d1 + cc34320 commit ad5a8ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions news/5628.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Show a different message for ``pipenv check`` depending on the ``--use-installed`` option.
14 changes: 10 additions & 4 deletions pipenv/routines/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,16 @@ def do_check(
if not quiet and not project.s.is_quiet():
click.secho("Passed!", fg="green")
if not quiet and not project.s.is_quiet():
click.secho(
"Checking installed packages for vulnerabilities...",
bold=True,
)
if use_installed:
click.secho(
"Checking installed packages for vulnerabilities...",
bold=True,
)
else:
click.secho(
"Checking Pipfile.lock packages for vulnerabilities...",
bold=True,
)
if ignore:
if not isinstance(ignore, (tuple, list)):
ignore = [ignore]
Expand Down

0 comments on commit ad5a8ac

Please # to comment.