Skip to content

Bad conversion to relative path #12

@Yaraslaut

Description

@Yaraslaut

If directories specified as multi line then string for directories will contain spaces in the begining, this leads to failure
example:

  dirs: ".,
         ./docs,
         ./scripts"

will lead to ./ ./docs using absolute path also does not help and docs will be converted into ./ docs

for directory in directories:
if directory != "." and not directory.startswith("./"):

Solution, add directory=directory.strip()

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