We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a20d910 commit 902c489Copy full SHA for 902c489
extensions/ql-vscode/src/remote-queries/variant-analysis-results-manager.ts
@@ -72,11 +72,8 @@ export class VariantAnalysisResultsManager extends DisposableObject {
72
repoTask: VariantAnalysisRepoTask
73
): Promise<VariantAnalysisScannedRepositoryResult> {
74
const result = this.cachedResults.get(createCacheKey(variantAnalysisId, repoTask));
75
- if (result) {
76
- return result;
77
- }
78
79
- return this.loadResultsIntoMemory(variantAnalysisId, repoTask);
+ return result ?? await this.loadResultsIntoMemory(variantAnalysisId, repoTask);
80
}
81
82
private async loadResultsIntoMemory(
0 commit comments