Merge pull request #15805 from ZhongRuoyu/formulary-alias_path
formulary: fix type of `alias_path`
This commit is contained in:
commit
11af9e8a1e
@ -779,7 +779,7 @@ module Formulary
|
|||||||
rack: Pathname,
|
rack: Pathname,
|
||||||
# Automatically resolves the formula's spec if not specified.
|
# Automatically resolves the formula's spec if not specified.
|
||||||
spec: Symbol,
|
spec: Symbol,
|
||||||
alias_path: Pathname,
|
alias_path: T.any(Pathname, String),
|
||||||
force_bottle: T::Boolean,
|
force_bottle: T::Boolean,
|
||||||
flags: T::Array[String],
|
flags: T::Array[String],
|
||||||
).returns(Formula)
|
).returns(Formula)
|
||||||
@ -819,7 +819,7 @@ module Formulary
|
|||||||
keg: Keg,
|
keg: Keg,
|
||||||
# Automatically resolves the formula's spec if not specified.
|
# Automatically resolves the formula's spec if not specified.
|
||||||
spec: Symbol,
|
spec: Symbol,
|
||||||
alias_path: Pathname,
|
alias_path: T.any(Pathname, String),
|
||||||
force_bottle: T::Boolean,
|
force_bottle: T::Boolean,
|
||||||
flags: T::Array[String],
|
flags: T::Array[String],
|
||||||
).returns(Formula)
|
).returns(Formula)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user