formula: add missing extend/os require
This allows Formula#valid_platform? to work correctly on MacOS.
This commit is contained in:
parent
b753315b0b
commit
9835d1a681
@ -1,4 +1,8 @@
|
|||||||
# typed: strict
|
# typed: strict
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "extend/os/linux/formula" if OS.linux?
|
if OS.mac?
|
||||||
|
require "extend/os/mac/formula"
|
||||||
|
elsif OS.linux?
|
||||||
|
require "extend/os/linux/formula"
|
||||||
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user