We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d9d41e commit a40feadCopy full SHA for a40fead
src/providers/FileSystemProvider/TextSearchProvider.ts
@@ -31,7 +31,7 @@ export class TextSearchProvider implements vscode.TextSearchProvider {
31
case: query.isCaseSensitive,
32
// If options.maxResults is null the search is supposed to return an unlimited number of results
33
// Since there's no way for us to pass "unlimited" to the server, I choose a very large number
34
- max: options.maxResults !== null ? options.maxResults : 100000,
+ max: options.maxResults ?? 100000,
35
})
36
.then((data) => data.result)
37
.then((files: SearchResult[]) =>
0 commit comments