diff options
Diffstat (limited to 'src/vs/workbench/services/search/node/fileSearch.ts')
-rw-r--r-- | src/vs/workbench/services/search/node/fileSearch.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vs/workbench/services/search/node/fileSearch.ts b/src/vs/workbench/services/search/node/fileSearch.ts index 60719151216..e6b9bb1633c 100644 --- a/src/vs/workbench/services/search/node/fileSearch.ts +++ b/src/vs/workbench/services/search/node/fileSearch.ts @@ -429,8 +429,8 @@ export class FileWalker { // Check exclude pattern // If the user searches for the exact file name, we adjust the glob matching - // to ignore filtering by siblings because the user seems to know what she - // is searching for and we want to include the result in that case anyway + // to ignore filtering by siblings because the user seems to know what they + // are searching for and we want to include the result in that case anyway if (excludePattern.test(relativePath, basename, filePattern !== basename ? hasSibling : undefined)) { continue; } @@ -479,8 +479,8 @@ export class FileWalker { // Check exclude pattern // If the user searches for the exact file name, we adjust the glob matching - // to ignore filtering by siblings because the user seems to know what she - // is searching for and we want to include the result in that case anyway + // to ignore filtering by siblings because the user seems to know what they + // are searching for and we want to include the result in that case anyway const currentRelativePath = relativeParentPath ? [relativeParentPath, file].join(path.sep) : file; if (this.folderExcludePatterns.get(folderQuery.folder.fsPath)!.test(currentRelativePath, file, this.config.filePattern !== file ? hasSibling : undefined)) { return clb(null); |