Skip to content

Commit fccabb8

Browse files
committed
Add __gitpod.getLocalMachineId internal command
1 parent ca0c978 commit fccabb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/extension.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ export async function activate(context: vscode.ExtensionContext) {
6969
}
7070
}));
7171

72+
// For analitycs, will be called by gitpod-remote extension
73+
context.subscriptions.push(vscode.commands.registerCommand('__gitpod.getLocalMachineId', () => {
74+
return vscode.env.machineId;
75+
}));
76+
7277
const authProvider = new GitpodAuthenticationProvider(context, logger, telemetry);
7378
const remoteConnector = new RemoteConnector(context, logger, telemetry);
7479
context.subscriptions.push(authProvider);

0 commit comments

Comments
 (0)