-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
When using the "includeFilter" option, it's impossible to filter folders.
Checking the code (
dir-compare/src/Entry/EntryBuilder.ts
Line 110 in 484b59b
| if ((entry.stat.isFile() && options.includeFilter) && (!match(path, options.includeFilter))) { |
Could it be possible to replace the line
if ((entry.stat.isFile() && options.includeFilter) && (!match(path, options.includeFilter))) {
by
if (options.includeFilter && !match(path, options.includeFilter)) {
It then will match what is done for the excludeFilter.
What do you think about it ?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels