2020-10-10 14:59:39 +02:00

21 lines
406 B
Ruby

# typed: strict
# frozen_string_literal: true
module Utils
module Analytics
class << self
def formula_path
return generic_formula_path if Homebrew::EnvConfig.force_homebrew_on_linux?
"formula-linux"
end
def analytics_path
return generic_analytics_path if Homebrew::EnvConfig.force_homebrew_on_linux?
"analytics-linux"
end
end
end
end