mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Fix #37000 - use search.followSymlinks for all searches
This commit is contained in:
@@ -229,12 +229,15 @@ export class ExtensionHostMain {
|
||||
return folderConfig.get('useRipgrep', true);
|
||||
});
|
||||
|
||||
const followSymlinks = this._extHostConfiguration.getConfiguration('search').get('followSymlinks', true);
|
||||
|
||||
const query: ISearchQuery = {
|
||||
folderQueries,
|
||||
type: QueryType.File,
|
||||
exists: true,
|
||||
includePattern: includes,
|
||||
useRipgrep
|
||||
useRipgrep,
|
||||
ignoreSymlinks: !followSymlinks
|
||||
};
|
||||
|
||||
let result = await this._diskSearch.search(query);
|
||||
|
||||
Reference in New Issue
Block a user