提交 7c0068d6 编写于 作者: R Rob Lourens

Remove unnecessary file scheme check in search

上级 11efc393
......@@ -403,13 +403,6 @@ export class SearchService extends Disposable implements ISearchService {
}
private matches(resource: uri, query: ITextQuery): boolean {
// includes
if (query.includePattern) {
if (resource.scheme !== Schemas.file) {
return false; // if we match on file patterns, we have to ignore non file resources
}
}
return pathIncludedInQuery(query, resource.fsPath);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册