Skip to content

Commit

Permalink
fix: duplicate packages output
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmakmun committed Apr 5, 2024
1 parent 472fe51 commit d7a0542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scanreq/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def scan(requirement_file: str, project_path: str, output_path: str = None) -> N
)
number += 1

unused_packages = list(set(unused_packages))
if len(unused_packages) < 1:
print("[i] Great! No unused packages found.")

Expand Down

0 comments on commit d7a0542

Please sign in to comment.