File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
extensions/ql-vscode/src/remote-queries Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -379,9 +379,9 @@ export class VariantAnalysisManager extends DisposableObject implements VariantA
379379 throw new Error ( `No variant analysis with id: ${ variantAnalysisId } ` ) ;
380380 }
381381
382- const filteredRepositories = filterAndSortRepositoriesWithResults ( variantAnalysis . scannedRepos ?? [ ] , filterSort ) ;
382+ const filteredRepositories = filterAndSortRepositoriesWithResults ( variantAnalysis . scannedRepos , filterSort ) ;
383383
384- const fullNames = filteredRepositories . filter ( a => a . resultCount && a . resultCount > 0 ) . map ( a => a . repository . fullName ) ;
384+ const fullNames = filteredRepositories ? .filter ( a => a . resultCount && a . resultCount > 0 ) . map ( a => a . repository . fullName ) ;
385385 if ( ! fullNames || fullNames . length === 0 ) {
386386 return ;
387387 }
You can’t perform that action at this time.
0 commit comments