提交 0e826e86 编写于 作者: J Joao Moreno

fixes #10497

上级 1dff9b55
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册