mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Let workspaceContains trigger use rg --quiet (fixes #35236)
This commit is contained in:
@@ -232,13 +232,13 @@ export class ExtensionHostMain {
|
||||
const query: ISearchQuery = {
|
||||
folderQueries,
|
||||
type: QueryType.File,
|
||||
maxResults: 1,
|
||||
exists: true,
|
||||
includePattern: includes,
|
||||
useRipgrep
|
||||
};
|
||||
|
||||
let result = await this._diskSearch.search(query);
|
||||
if (result.results.length > 0) {
|
||||
if (result.limitHit) {
|
||||
// a file was found matching one of the glob patterns
|
||||
return (
|
||||
this._extensionService.activateById(extensionId, true)
|
||||
|
||||
Reference in New Issue
Block a user