Skip to content

Commit

Permalink
fix: properly access specified key when checking poetry dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aitorres committed Dec 12, 2021
1 parent 11132e3 commit 50c4f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneup/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def scan_file(requirements_file_path: Path) -> None:
for key in ("dependencies", "dev-dependencies"):
if key in poetry_specs:
dependencies.extend(
list(poetry_specs["dependencies"].keys())
list(poetry_specs[key].keys())
)

for dependency in dependencies:
Expand Down

0 comments on commit 50c4f13

Please sign in to comment.