fix missing subdirs problem
This commit is contained in:
parent
b5b5d021aa
commit
897a28784d
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue