Skip to content

Commit

Permalink
Fix issue #20: drop packages
Browse files Browse the repository at this point in the history
When using the root project as a template, drop the package
entry to make sure we don't use that.
  • Loading branch information
bneijt committed Jul 22, 2021
1 parent 86cc32f commit 00c82d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion poetry_lock_package/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def run(
project["tool"]["poetry"]["dependencies"] = dependencies

del_keys(
project["tool"]["poetry"], ["scripts", "readme", "include", "extras", "plugins"]
project["tool"]["poetry"],
["scripts", "readme", "include", "extras", "plugins", "packages"],
)

lock_project_path = create_or_update(project, should_create_tests)
Expand Down

0 comments on commit 00c82d6

Please sign in to comment.