Fix #37000 - use search.followSymlinks for all searches

This commit is contained in:
Rob Lourens
2017-10-28 18:52:15 -07:00
parent ffb83a806c
commit f49e3e5cab
2 changed files with 11 additions and 2 deletions

View File

@@ -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);