mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fix #1698
This commit is contained in:
+2
-1
@@ -1063,7 +1063,8 @@ def do_lock(verbose=False, system=False, clear=False, pre=False, keep_outdated=F
|
||||
sys.exit(1)
|
||||
cached_lockfile = project.lockfile_content
|
||||
|
||||
project.destroy_lockfile()
|
||||
if write:
|
||||
project.destroy_lockfile()
|
||||
|
||||
if write:
|
||||
# Alert the user of progress.
|
||||
|
||||
Reference in New Issue
Block a user