validate raw Pipfile's casing rather than normalized version

This commit is contained in:
Nate Prewitt
2017-04-19 08:42:09 -06:00
parent db4a181b2a
commit 19c1971276
+1 -1
View File
@@ -98,7 +98,7 @@ def ensure_pipfile(validate=True):
# Validate the Pipfile's contents.
if validate and project.virtualenv_exists:
# Ensure that Pipfile is using proper casing.
p = project._pipfile
p = project.parsed_pipfile
changed = ensure_proper_casing(pfile=p)
# Write changes out to disk.