Skip to content

Commit

Permalink
Fix version column in homebrew_packages (#8057)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgirardeau-figma committed Jun 16, 2023
1 parent 1965770 commit 3c66ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osquery/tables/system/darwin/homebrew_packages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ std::vector<std::string> getHomebrewVersionsFromInfoPlistPath(
auto status = osquery::listDirectoriesInDirectory(path, app_versions);
if (status.ok()) {
for (const auto& version : app_versions) {
results.push_back(fs::path(version).parent_path().filename().string());
results.push_back(fs::path(version).filename().string());
}
} else {
TLOG << "Error listing " << path << ": " << status.toString();
Expand Down

0 comments on commit 3c66ddd

Please sign in to comment.