From fd074c7a1b2ff1299e9f107175dc1c50be596d4b Mon Sep 17 00:00:00 2001 From: Ryan Rozario Date: Thu, 9 Mar 2023 16:34:42 +0000 Subject: [PATCH 1/2] Message for Pipfile.lock vulnerabilities check --- pipenv/routines/check.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pipenv/routines/check.py b/pipenv/routines/check.py index af4ddc5971..186ca6df50 100644 --- a/pipenv/routines/check.py +++ b/pipenv/routines/check.py @@ -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] From cc34320ba5aad1004db657fb4640efc7f4a7ec46 Mon Sep 17 00:00:00 2001 From: Ryan Rozario Date: Fri, 10 Mar 2023 08:33:38 +0000 Subject: [PATCH 2/2] Added news fragment --- news/5628.trivial.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/5628.trivial.rst diff --git a/news/5628.trivial.rst b/news/5628.trivial.rst new file mode 100644 index 0000000000..724ee853c2 --- /dev/null +++ b/news/5628.trivial.rst @@ -0,0 +1 @@ +Show a different message for ``pipenv check`` depending on the ``--use-installed`` option.