mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-25 17:27:26 +01:00
fixes #10497
This commit is contained in:
@@ -231,7 +231,9 @@ export class UpdateManager extends EventEmitter implements IUpdateService {
|
||||
}
|
||||
|
||||
private getUpdateChannel(): string {
|
||||
const channel = this.configurationService.getConfiguration<string>('update.channel') || 'default';
|
||||
const config = this.configurationService.getConfiguration<{ channel: string; }>('update');
|
||||
const channel = config && config.channel;
|
||||
|
||||
return channel === 'none' ? null : this.envService.quality;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user