Fix variable name in project type reporting (#35045)
Release Notes: - N/A
This commit is contained in:
parent
2658b2801e
commit
45ddf32a1d
1 changed files with 3 additions and 3 deletions
|
@ -358,13 +358,13 @@ impl Telemetry {
|
||||||
worktree_id: WorktreeId,
|
worktree_id: WorktreeId,
|
||||||
updated_entries_set: &UpdatedEntriesSet,
|
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 {
|
else {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
for project_type_name in project_type_names {
|
for project_type in project_types {
|
||||||
telemetry::event!("Project Opened", project_type = project_type_name);
|
telemetry::event!("Project Opened", project_type = project_type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue