Closed amercier closed 5 years ago
This PR improves double/descendant path detection in filesByDirectory().
filesByDirectory()
# Directory structure: root ├── file1 └── file2
for await (const files of filesByDirectory(['root', 'root/file1'])) { console.log(files); }
['root/file1', 'root/file2']
['root/file1', 'root/file2'] ['root/file1']
Summary
This PR improves double/descendant path detection in
filesByDirectory()
.Problem
Expected result
Actual result