mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
do not use downloading state (#206955)
This commit is contained in:
parent
9626fb0cd2
commit
6bdee9d1e3
|
@ -862,7 +862,7 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension
|
|||
if (!this.isAutoUpdateEnabled()) {
|
||||
return;
|
||||
}
|
||||
if ((e.type === StateType.CheckingForUpdates && e.explicit) || e.type === StateType.AvailableForDownload || e.type === StateType.Downloading) {
|
||||
if ((e.type === StateType.CheckingForUpdates && e.explicit) || e.type === StateType.AvailableForDownload || e.type === StateType.Downloaded) {
|
||||
this.eventuallyCheckForUpdates(true);
|
||||
}
|
||||
}));
|
||||
|
@ -1520,7 +1520,6 @@ export class ExtensionsWorkbenchService extends Disposable implements IExtension
|
|||
private getProductUpdateVersion(): IProductVersion | undefined {
|
||||
switch (this.updateService.state.type) {
|
||||
case StateType.AvailableForDownload:
|
||||
case StateType.Downloading:
|
||||
case StateType.Downloaded:
|
||||
case StateType.Updating:
|
||||
case StateType.Ready:
|
||||
|
|
Loading…
Reference in a new issue