mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:52:24 +00:00
Fix #76654 - fix checking that workspace folders exist for searches in
remote
This commit is contained in:
parent
09c580b197
commit
292685b13f
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue