Fix #33163 - run ripgrep even when there are no folderQueries, as long as there are extraFiles
parent
24098ae6fb
commit
ba2ccf0667
|
@ -43,7 +43,7 @@ export class RipgrepEngine {
|
|||
|
||||
// TODO@Rob - make promise-based once the old search is gone, and I don't need them to have matching interfaces anymore
|
||||
search(onResult: (match: ISerializedFileMatch) => void, onMessage: (message: ISearchLog) => void, done: (error: Error, complete: ISerializedSearchComplete) => void): void {
|
||||
if (!this.config.folderQueries.length) {
|
||||
if (!this.config.folderQueries.length && !this.config.extraFiles.length) {
|
||||
done(null, {
|
||||
limitHit: false,
|
||||
stats: null
|
||||
|
|
Loading…
Reference in New Issue