This commit is contained in:
Joao Moreno
2016-08-29 14:41:37 +02:00
parent 1dff9b55f7
commit 0e826e8660
+3 -1
View File
@@ -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;
}