Skip to content

Commit

Permalink
Use lowercase process names in telemetry (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicroms authored Jul 17, 2023
1 parent 7873dc4 commit 6d98eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vcpkg/metrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ namespace vcpkg

std::vector<std::string> process_list;
get_parent_process_list(process_list);
result.parent_process_list =
Strings::join(";", process_list, [](auto&& s) { return Hash::get_string_sha256(s); });
result.parent_process_list = Strings::join(
";", process_list, [](auto&& s) { return Hash::get_string_sha256(Strings::ascii_to_lowercase(s)); });

return result;
}
Expand Down

0 comments on commit 6d98eb5

Please sign in to comment.