Skip to content

TypeError: expected str, bytes or os.PathLike object, not NoneType #23

@biggwang

Description

@biggwang

I have applied this to my project.
And success to deleted but result is fail...

I found this message "TypeError: expected str, bytes or os.PathLike object, not NoneType"

....  

File "/application/main.py", line 15, in <module>
    io.format_output({'deleted_branches': deleted_branches})
  File "/application/src/io.py", line 38, in format_output
    with open(file_path, "a") as gh_output:
TypeError: expected str, bytes or os.PathLike object, not NoneType`

....

Do you know why this message raised ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions