From 8ab2fb6868497023e369df939690af2a101ecafc Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Wed, 6 Apr 2016 01:29:24 +0200 Subject: [PATCH] analytics: avoid unnecessary string interpolation --- 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 15de204455..66be5696a2 100644 --- a/Library/Homebrew/utils/analytics.rb +++ b/Library/Homebrew/utils/analytics.rb @@ -18,7 +18,7 @@ def report_analytics(type, metadata={}) # https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters system ENV["HOMEBREW_CURL"], "https://www.google-analytics.com/collect", "-d", "v=1", "--silent", "--max-time", "3", "--output", "/dev/null", - "--user-agent", "#{HOMEBREW_USER_AGENT_CURL}", + "--user-agent", HOMEBREW_USER_AGENT_CURL, "-d", "tid=#{ENV["HOMEBREW_ANALYTICS_ID"]}", "-d", "cid=#{ENV["HOMEBREW_ANALYTICS_USER_UUID"]}", "-d", "aip=1",