mirror of
https://github.com/gosticks/brew.git
synced 2026-09-01 14:30:27 +00:00
19 lines
391 B
Ruby
19 lines
391 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
module Homebrew
|
|
module API
|
|
module Analytics
|
|
class << self
|
|
def analytics_api_path
|
|
return generic_analytics_api_path if
|
|
Homebrew::EnvConfig.force_homebrew_on_linux? ||
|
|
Homebrew::EnvConfig.force_homebrew_core_repo_on_linux?
|
|
|
|
"analytics-linux"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|