Skip to content

Wrong title when Licence file is not in root folder #29

Description

@orschaef

When the licence file of the pod is in a directory that is not named after the pod (e.g. not in the root, instead in a subfolder called "foo") you get the wrong title (in this case: "foo").
The actual line of code can be found in credits.py:

title = path.split("/")[-2]

This just takes the parent of the licence file as title.

Example pod where it fails:

  • App Center

Expected Behavior: Title should be "AppCenter"

Actual Behavior: Title is "iOS" (because the parent folder of Licence file is "iOS")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions