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: