Skip to content

Commit

Permalink
Fix bug when no requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Sep 8, 2022
1 parent f303de3 commit accbd0c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -79,6 +79,9 @@ def pep621_dependencies
# (we wouldn't be able to update it)
next if dep["version"] == "0.0.1+dependabot"

# If no requirement, don't add it
next if dep["requirement"].empty?

dependencies <<
Dependency.new(
name: normalised_name(dep["name"], dep["extras"]),
Expand Down

0 comments on commit accbd0c

Please sign in to comment.