aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2016-03-28 09:21:02 +0100
committerMike McQuaid2016-04-04 12:27:47 +0100
commit342ed4c830e349efee4cf4719d44eae96112cd47 (patch)
tree555e8fcdbed2f967b270a88e0607b328a993e5a7 /Library/Homebrew
parentc5cd206169c57609b1c6d2f4cff9e390b6350a27 (diff)
downloadbrew-342ed4c830e349efee4cf4719d44eae96112cd47.tar.bz2
formula_installer: report install attempts.
Closes https://github.com/Homebrew/legacy-homebrew/pull/50462.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index aa8a28b8c..c4462fd9d 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -202,6 +202,8 @@ class FormulaInstaller
oh1 "Installing #{Tty.green}#{formula.full_name}#{Tty.reset}" if show_header?
+ report_analytics_event("install", formula.full_name)
+
@@attempted << formula
if pour_bottle?(:warn => true)