Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Message for Pipfile.lock packages vulnerabilities check #5628

Merged
merged 2 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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