Add ssh initialization events (#18831)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons
2024-10-07 16:17:43 -04:00
committed by GitHub
parent 5387a6f7f9
commit a15b10986a
4 changed files with 27 additions and 4 deletions
+3 -3
View File
@@ -485,7 +485,7 @@ impl Telemetry {
worktree_id: WorktreeId,
updated_entries_set: &UpdatedEntriesSet,
) {
let project_names: Vec<String> = {
let project_type_names: Vec<String> = {
let mut state = self.state.lock();
state
.worktree_id_map
@@ -521,8 +521,8 @@ impl Telemetry {
};
// Done on purpose to avoid calling `self.state.lock()` multiple times
for project_name in project_names {
self.report_app_event(format!("open {} project", project_name));
for project_type_name in project_type_names {
self.report_app_event(format!("open {} project", project_type_name));
}
}