Skip to content

Commit b0f90cb

Browse files
Improve docstring
Signed-off-by: Keshav Priyadarshi <git@keshav.space> Co-authored-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent b848747 commit b0f90cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vulnerabilities/pipelines/flag_ghost_packages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def flag_ghost_package(base_purl, packages, logger=None):
6969
"""
7070
Check if `packages` are available upstream.
7171
If not, update `is_ghost` to `True`.
72+
Return the number of packages flagged as ghost.
7273
"""
7374
if not base_purl.type in RANGE_CLASS_BY_SCHEMES:
7475
return 0

0 commit comments

Comments
 (0)