We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3981d39 commit e1dd456Copy full SHA for e1dd456
src/vs/platform/update/electron-main/abstractUpdateService.ts
@@ -87,6 +87,9 @@ export abstract class AbstractUpdateService implements IUpdateService {
87
protected async initialize(): Promise<void> {
88
// --- Start Positron ---
89
const updateChannel = process.env.POSITRON_UPDATE_CHANNEL ?? this.configurationService.getValue<string>('update.positron.channel');
90
+ if (process.env.POSITRON_UPDATE_CHANNEL) {
91
+ this.logService.info('update#ctor - using update channel from environment variable', process.env.POSITRON_UPDATE_CHANNEL);
92
+ }
93
this.enableAutoUpdate = this.configurationService.getValue<boolean>('update.autoUpdate');
94
95
if (this.environmentMainService.disableUpdates) {
0 commit comments