Possible fix for the meta data not getting updated in the lock phase.

This commit is contained in:
Matt Davis
2022-10-09 20:49:46 -04:00
parent 612241b4ef
commit d24c0a6882
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -1138,6 +1138,7 @@ def do_lock(
overwrite_with_default(lockfile.get("default", {}), lockfile[category])
)
if write:
lockfile.update({"_meta": project.get_lockfile_meta()})
project.write_lockfile(lockfile)
click.echo(
"{}".format(
-2
View File
@@ -582,8 +582,6 @@ class Project:
)
lockfile = lockfile._data
# with open(self.pipfile_location) as pf:
# lockfile = plette.Lockfile.with_meta_from(plette.Pipfile.load(pf))
if categories is None:
categories = self.get_package_categories(for_lockfile=True)
for category in categories: