mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
don't validate if environment isn't configured
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ def ensure_pipfile(validate=True):
|
||||
# TODO: Remove this check. Either fail on no Pipfile
|
||||
# or fallback to an empty dict.
|
||||
# Validate the Pipfile's contents.
|
||||
if validate:
|
||||
if validate and project.virtualenv_exists:
|
||||
# Ensure that Pipfile is using proper casing.
|
||||
p = project.parsed_pipfile
|
||||
changed = ensure_proper_casing(_pipfile=p)
|
||||
|
||||
Reference in New Issue
Block a user