Skip to content

Commit

Permalink
rebaes
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkuo committed May 22, 2022
1 parent aef4062 commit f1453ed
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 346 deletions.
340 changes: 0 additions & 340 deletions poetry/packages/locker.py

This file was deleted.

2 changes: 2 additions & 0 deletions src/poetry/packages/locker.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from poetry.core.version.markers import parse_marker
from poetry.core.version.requirements import InvalidRequirement
from tomlkit import array
from tomlkit import comment
from tomlkit import document
from tomlkit import inline_table
from tomlkit import item
Expand Down Expand Up @@ -397,6 +398,7 @@ def set_lock_data(self, root: Package, packages: list[Package]) -> bool:
del package["files"]

lock = document()
lock.add(comment("@" + "generated"))
lock["package"] = package_specs

if root.extras:
Expand Down
Loading

0 comments on commit f1453ed

Please sign in to comment.