mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Fix #76654 - fix checking that workspace folders exist for searches in
remote
This commit is contained in:
@@ -1223,7 +1223,7 @@ export class SearchView extends ViewletPanel {
|
||||
return this.fileService.exists(fq.folder);
|
||||
});
|
||||
|
||||
return Promise.resolve(folderQueriesExistP).then(existResults => {
|
||||
return Promise.all(folderQueriesExistP).then(existResults => {
|
||||
// If no folders exist, show an error message about the first one
|
||||
const existingFolderQueries = query.folderQueries.filter((folderQuery, i) => existResults[i]);
|
||||
if (!query.folderQueries.length || existingFolderQueries.length) {
|
||||
|
||||
Reference in New Issue
Block a user