Skip to content

Commit

Permalink
Fix function name in recursive path resolver
Browse files Browse the repository at this point in the history
Signed-off-by: Keshav Priyadarshi <[email protected]>
  • Loading branch information
keshav-space committed Mar 16, 2023
1 parent 200a17b commit 52946dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulntotal/datasources/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_casesensitive_slug(path, package_slug):

# If the namespace/subfolder contains multiple packages, then progressive transverse through folders tree
if package_slug.lower().startswith(slug_flatpath.lower()):
return get_gitlab_style_slug(slug_flatpath, package_slug)
return get_casesensitive_slug(slug_flatpath, package_slug)

payload[0]["variables"]["nextPageCursor"] = paginated_tree["pageInfo"]["endCursor"]
hasnext = paginated_tree["pageInfo"]["hasNextPage"]
Expand Down

0 comments on commit 52946dd

Please sign in to comment.