We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 957f71c + 361cb60 commit 048428bCopy full SHA for 048428b
extensions/ql-vscode/src/distribution.ts
@@ -215,6 +215,9 @@ export class DistributionManager implements DistributionProvider {
215
minSecondsSinceLastUpdateCheck: number,
216
): Promise<DistributionUpdateCheckResult> {
217
const distribution = await this.getDistributionWithoutVersionCheck();
218
+ if (distribution === undefined) {
219
+ minSecondsSinceLastUpdateCheck = 0;
220
+ }
221
const extensionManagedCodeQlPath =
222
await this.extensionSpecificDistributionManager.getCodeQlPathWithoutVersionCheck();
223
if (distribution?.codeQlPath !== extensionManagedCodeQlPath) {
0 commit comments