Skip to content

Commit ce79ee8

Browse files
committed
Add platform attribute for gitpod_desktop_use_local_ssh_proxy setting
1 parent 8268f32 commit ce79ee8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/experiments.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import * as vscode from 'vscode';
77
import * as configcat from 'configcat-node';
88
import * as configcatcommon from 'configcat-common';
99
import * as semver from 'semver';
10+
import * as os from 'os';
1011
import { ISessionService } from './services/sessionService';
1112
import { ILogService } from './services/logService';
1213
import { IHostService } from './services/hostService';
@@ -145,7 +146,7 @@ export class ExperimentalSettings extends Disposable implements IExperimentsServ
145146
* @see https://app.configcat.com/08da1258-64fb-4a8e-8a1e-51de773884f6/08da1258-6541-4fc7-8b61-c8b47f82f3a0/08da1258-6512-4ec0-80a3-3f6aa301f853?settingId=75503
146147
*/
147148
async getUseLocalSSHProxy(): Promise<boolean> {
148-
return (await this.getRaw<boolean>('gitpod_desktop_use_local_ssh_proxy', {})) ?? false;
149+
return (await this.getRaw<boolean>('gitpod_desktop_use_local_ssh_proxy', { 'platform': os.platform() })) ?? false;
149150
}
150151

151152
async getUsePublicAPI(gitpodHost: string): Promise<boolean> {

0 commit comments

Comments
 (0)