There's a small bug in `homebrew_packages` in 5.9....
# core
b
There's a small bug in
homebrew_packages
in 5.9.0 where the version is reported as the name of the package instead of its actual version. I think it's because the path changed to no longer have a
/
at the end (around this code). cc @Marcos Oviedo I'm guessing that is from this PR? Otherwise things seem to be working well! Great to see crashes reported and info about RSRs on Ventura now
bowtie 1
m
Hey @Brad Girardeau, sorry for the late response! I'm just looking into this. In case it is useful, the output from
osquery::listDirectoriesInDirectory
should be the same regardless of whether the path being traversed ends with a
/
b
No worries it was a really small fix! (this PR) The directory traversal looks a lot better, just was tricky
filename("/package/version")
is apparently different from
filename("/package/version/")
(docs)
s
Nice catch, and thanks for the quick fix @Brad Girardeau
plusone 1