From 3cf75e8d8fa332fe86c2f0a3b09c905952ca5148 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Sun, 23 Jul 2023 20:30:54 +0200 Subject: [PATCH] Fix refactoring of check routine --- pipenv/routines/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/routines/check.py b/pipenv/routines/check.py index b9735995..c2f5d12f 100644 --- a/pipenv/routines/check.py +++ b/pipenv/routines/check.py @@ -129,7 +129,7 @@ def do_check( if output in formats: options.append(formats.get(output, "")) - elif output in ["screen", "default"]: + elif output not in ["screen", "default"]: options.append(f"--output={output}") if save_json: