fix missing subdirs problem

This commit is contained in:
James Ravenscroft 2024-12-17 08:30:43 +00:00
parent b5b5d021aa
commit 897a28784d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def main(input_dir: str, output_dir, ignore=None, dry_run=False):
public_files = [] public_files = []
files = glob.glob(os.path.join(input_dir,"**","*.md")) + glob.glob(os.path.join(input_dir,"*.md")) files = set(glob.glob(os.path.join(input_dir,"**","*.md"), recursive=True) + glob.glob(os.path.join(input_dir,"*.md"), recursive=True))
for file in files: for file in files: