Apply suggestions from code review

Co-authored-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Nick Coghlan
2020-05-04 16:18:03 +10:00
committed by GitHub
parent 892d9e5f9f
commit b6ca34096a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
For consistency with other commands and the ``-dev`` option
For consistency with other commands and the ``--dev`` option
description, ``pipenv lock --requirements --dev`` now emits
both default and development dependencies.
The new ``--dev-only`` option requests the previous
+1 -1
View File
@@ -808,7 +808,7 @@ def do_install_dependencies(
if emit_requirements:
bare = True
# Load the lockfile if it exists, or if dev_only is being used.
if skip_lock or dev_only or not project.lockfile_exists:
if skip_lock or not project.lockfile_exists:
if not bare:
click.echo(
crayons.normal(fix_utf8("Installing dependencies from Pipfile…"), bold=True)