Skip to content

Commit

Permalink
Merge pull request #94 from tarunkrishnat0/master
Browse files Browse the repository at this point in the history
Corrected the logic to consider extras when using requirements
  • Loading branch information
FredHappyface authored Nov 10, 2024
2 parents da2ec2f + 0fe5ee9 commit 89d75cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion licensecheck/get_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def getReqs(using: str, skipDependencies: list[ucstr]) -> set[ucstr]:

# Requirements
if using == "requirements":
requirementsPaths = ["requirements.txt"] if len(extras) > 0 else extras
requirementsPaths = ["requirements.txt"] if len(extras) == 0 else extras
extras = []

try:
Expand Down

0 comments on commit 89d75cf

Please sign in to comment.