mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 02:02:35 -05:00
Merge from vscode a234f13c45b40a0929777cb440ee011b7549eed2 (#8911)
* Merge from vscode a234f13c45b40a0929777cb440ee011b7549eed2 * update distro * fix layering * update distro * fix tests
This commit is contained in:
@@ -50,6 +50,10 @@ export abstract class AbstractUpdateService implements IUpdateService {
|
||||
@IRequestService protected requestService: IRequestService,
|
||||
@ILogService protected logService: ILogService,
|
||||
) {
|
||||
if (!this.environmentService.isBuilt) {
|
||||
return; // updates are never enabled when running out of sources
|
||||
}
|
||||
|
||||
if (this.environmentService.disableUpdates) {
|
||||
this.logService.info('update#ctor - updates are disabled by the environment');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user