Merge pull request #17729 from Homebrew/utils_analytics_strip
This commit is contained in:
commit
55c0a9d3b4
@ -113,6 +113,10 @@ module Utils
|
||||
|
||||
# Strip out any flag values to reduce cardinality and preserve privacy.
|
||||
options_array.map! { |option| option.sub(/=.*/, "=") }
|
||||
|
||||
# Strip out --with-* and --without-* options
|
||||
options_array.reject! { |option| option.match(/^--with(out)?-/) }
|
||||
|
||||
options = options_array.sort.uniq.join(" ")
|
||||
|
||||
# Tags must have low cardinality.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user