We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5860847 commit 0ca6d0fCopy full SHA for 0ca6d0f
src/vs/platform/update/electron-main/updateService.darwin.ts
@@ -50,8 +50,7 @@ export class DarwinUpdateService extends AbstractUpdateService {
50
this.logService.error('UpdateService error:', err);
51
52
// only show message when explicitly checking for updates
53
- const shouldShowMessage = this.state.type === StateType.CheckingForUpdates ? this.state.explicit : true;
54
- const message: string | undefined = shouldShowMessage ? err : undefined;
+ const message = (this.state.type === StateType.CheckingForUpdates && this.state.explicit) ? err : undefined;
55
this.setState(State.Idle(UpdateType.Archive, message));
56
}
57
0 commit comments