Skip to content

Commit e1dd456

Browse files
committed
Log when overriding preference
1 parent 3981d39 commit e1dd456

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/platform/update/electron-main/abstractUpdateService.ts

+3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ export abstract class AbstractUpdateService implements IUpdateService {
8787
protected async initialize(): Promise<void> {
8888
// --- Start Positron ---
8989
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+
}
9093
this.enableAutoUpdate = this.configurationService.getValue<boolean>('update.autoUpdate');
9194

9295
if (this.environmentMainService.disableUpdates) {

0 commit comments

Comments
 (0)