Skip to content

Commit ff65e79

Browse files
committed
bump and log raw remote uri
1 parent 5004a62 commit ff65e79

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Gitpod",
44
"description": "Gitpod Support",
55
"publisher": "gitpod",
6-
"version": "0.0.97",
6+
"version": "0.0.98",
77
"license": "MIT",
88
"icon": "resources/gitpod.png",
99
"repository": {

src/extension.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,20 @@ export async function activate(context: vscode.ExtensionContext) {
126126
telemetryService?.sendTelemetryException(e);
127127
throw e;
128128
} finally {
129-
const activateProperties = {
129+
const rawActivateProperties = {
130130
remoteName: vscode.env.remoteName || '',
131-
remoteUri: String(!!(vscode.workspace.workspaceFile || vscode.workspace.workspaceFolders?.[0].uri)),
131+
remoteUri: vscode.workspace.workspaceFile || vscode.workspace.workspaceFolders?.[0].uri,
132132
workspaceId: remoteConnectionInfo?.connectionInfo.workspaceId || '',
133133
instanceId: remoteConnectionInfo?.connectionInfo.instanceId || '',
134134
gitpodHost: remoteConnectionInfo?.connectionInfo.gitpodHost || '',
135135
debugWorkspace: remoteConnectionInfo ? String(!!remoteConnectionInfo.connectionInfo.debugWorkspace) : '',
136136
success: String(success)
137137
};
138-
logger?.info('Activation properties:', JSON.stringify(activateProperties, undefined, 2));
139-
telemetryService?.sendTelemetryEvent('vscode_desktop_activate', activateProperties);
138+
logger?.info('Activation properties:', JSON.stringify(rawActivateProperties, undefined, 2));
139+
telemetryService?.sendTelemetryEvent('vscode_desktop_activate', {
140+
...rawActivateProperties,
141+
remoteUri: String(!!rawActivateProperties.remoteUri)
142+
});
140143
}
141144
}
142145

0 commit comments

Comments
 (0)