Skip to content

RuntimeError: Output directory already exists and has files in it: issues with --idempotent #43

Open
@gdha

Description

@gdha

I thought by using gh2md --multiple-files --idempotent --file-extension .gfm rear/rear issues the exsiting files in directory issues/ would be skipped. Seems when the issues directory is already present we get an error:

Traceback (most recent call last):
  File "/usr/local/bin/gh2md", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/gh2md/gh2md.py", line 799, in main
    raise RuntimeError(
RuntimeError: Output directory already exists and has files in it: issues

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