mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix an error that was never hit
This commit is contained in:
+1
-1
@@ -290,7 +290,6 @@ def ensure_pipfile(validate=True, skip_requirements=False):
|
||||
if validate and project.virtualenv_exists and not PIPENV_SKIP_VALIDATION:
|
||||
# Ensure that Pipfile is using proper casing.
|
||||
p = project.parsed_pipfile
|
||||
p.clear_pipfile_cache()
|
||||
changed = ensure_proper_casing(pfile=p)
|
||||
# Write changes out to disk.
|
||||
if changed:
|
||||
@@ -299,6 +298,7 @@ def ensure_pipfile(validate=True, skip_requirements=False):
|
||||
err=True,
|
||||
)
|
||||
project.write_toml(p)
|
||||
project.clear_pipfile_cache()
|
||||
|
||||
|
||||
def find_python_from_py(python):
|
||||
|
||||
Reference in New Issue
Block a user