Correct variable name in project type detection (#32835)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2025-06-17 02:29:44 -04:00 committed by GitHub
parent 2539d57ac7
commit baf4abe101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -404,10 +404,9 @@ impl Telemetry {
.insert(worktree_id);
}
let mut project_names_vec: Vec<String> =
project_types.into_iter().map(String::from).collect();
project_names_vec.sort();
Some(project_names_vec)
let mut project_types: Vec<_> = project_types.into_iter().map(String::from).collect();
project_types.sort();
Some(project_types)
}
fn report_event(self: &Arc<Self>, event: Event) {