Skip to content
Snippets Groups Projects
Commit 5f4111d2 authored by Martin Afanasjew's avatar Martin Afanasjew
Browse files

utils/analytics.sh: tweak output in debug mode

Avoid some duplication (thereby also shortening line length) and put
everything in a single string for output via `echo`.
parent 159b0eea
No related branches found
No related tags found
No related merge requests found
......@@ -113,9 +113,8 @@ report-analytics-screenview-command() {
"${args[@]}" \
--silent --output /dev/null &>/dev/null & disown
else
echo "$HOMEBREW_CURL https://www.google-analytics.com/debug/collect" \
"${args[@]}"
"$HOMEBREW_CURL" https://www.google-analytics.com/debug/collect \
"${args[@]}"
local url="https://www.google-analytics.com/debug/collect"
echo "$HOMEBREW_CURL $url ${args[*]}"
"$HOMEBREW_CURL" "$url" "${args[@]}"
fi
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment