Skip to content

Commit 0cee132

Browse files
committed
Fix space in directory bug
1 parent 4c24a2e commit 0cee132

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/filepattern/cpp/internal/filepattern.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ FilePatternObject::FilePatternObject(const string& path, const string& file_patt
2424
} else {
2525

2626
this->recursive_ = recursive; // Iterate over subdirectories
27-
27+
this->setCaptureDirectoryNames(false);
28+
2829
// check if filepattern contains directory capturing
2930
if (s::isPath(file_pattern)) {
3031
this->setCaptureDirectoryNames(true);

0 commit comments

Comments
 (0)