mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
18 lines
332 B
Ruby
18 lines
332 B
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
module Homebrew
|
|
module API
|
|
module Formula
|
|
class << self
|
|
sig { returns(String) }
|
|
def formula_api_path
|
|
return generic_formula_api_path if Homebrew::EnvConfig.force_homebrew_on_linux?
|
|
|
|
"formula-linux"
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|