Fix variable name in project type reporting (#35045)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2025-07-24 13:08:02 -04:00 committed by GitHub
parent 2658b2801e
commit 45ddf32a1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -358,13 +358,13 @@ impl Telemetry {
worktree_id: WorktreeId,
updated_entries_set: &UpdatedEntriesSet,
) {
let Some(project_type_names) = self.detect_project_types(worktree_id, updated_entries_set)
let Some(project_types) = self.detect_project_types(worktree_id, updated_entries_set)
else {
return;
};
for project_type_name in project_type_names {
telemetry::event!("Project Opened", project_type = project_type_name);
for project_type in project_types {
telemetry::event!("Project Opened", project_type = project_type);
}
}