We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deb2b83 commit 361cb60Copy full SHA for 361cb60
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