do not react to --clear flag

This commit is contained in:
Frost Ming
2021-11-09 10:51:59 +08:00
parent 4d1df958fa
commit 3481e09aae
-5
View File
@@ -510,11 +510,6 @@ def ensure_project(
):
"""Ensures both Pipfile and virtualenv exist for the project."""
# Clear the caches, if appropriate.
if clear:
print("clearing")
sys.exit(1)
# Automatically use an activated virtualenv.
if project.s.PIPENV_USE_SYSTEM:
system = True