From c2d23838d087b06487c4735f8b4183f0ba1a05f7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 13 Oct 2018 15:09:03 -0700 Subject: [PATCH] analytics: fix display of build error options. Currently these are all like `wget #`. --- Library/Homebrew/utils/analytics.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb index dc44a0b3a6..30b7c606b8 100644 --- a/Library/Homebrew/utils/analytics.rb +++ b/Library/Homebrew/utils/analytics.rb @@ -83,7 +83,7 @@ module Utils return if exception.formula.tap.private? action = exception.formula.full_name - if (options = exception.options) + if (options = exception.options&.to_a&.join(" ")) action = "#{action} #{options}".strip end report_event("BuildError", action)