Add slash to search pattern if missing#7
Conversation
|
Hi Daniel @Birne94 thank you for taking the time to submit the two PRs. The help is much appreciated :) There is a slight conflict with this change which I was wondering if you'd be willing to resolve so that I can merge? |
|
I have resolved the conflict, but I think this introduces some inconsistent behavior now. When the new You should decide if nested searching should be always enabled (then a slash should be appended as in this PR) or configurable by the user (then the glob pattern should change from |
|
Good point, I will investigate this further |
|
any leads on this one? I get |
When specifying an image directory without a trailing slash, the search pattern won't pick up images in subdirectories because a wrong pattern is generated (e.g.
/images**/*.*vs/images/**/*.*).If a slash is missing, it is now appended before building the search pattern.
This should also fix #6