skip directories with .md in them
This commit is contained in:
parent
3dc34f6c01
commit
b5b5d021aa
Binary file not shown.
|
@ -20,6 +20,10 @@ def main(input_dir: str, output_dir, ignore=None, dry_run=False):
|
|||
|
||||
for file in files:
|
||||
|
||||
if os.path.isdir(file):
|
||||
print(f"Skipping {file}... is a directory")
|
||||
continue
|
||||
|
||||
|
||||
if ignore is not None:
|
||||
skip_file = False
|
||||
|
|
Loading…
Reference in New Issue