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,
|
||||
# Automatically resolves the formula's spec if not specified.
|
||||
spec: Symbol,
|
||||
alias_path: Pathname,
|
||||
alias_path: T.any(Pathname, String),
|
||||
force_bottle: T::Boolean,
|
||||
flags: T::Array[String],
|
||||
).returns(Formula)
|
||||
@ -819,7 +819,7 @@ module Formulary
|
||||
keg: Keg,
|
||||
# Automatically resolves the formula's spec if not specified.
|
||||
spec: Symbol,
|
||||
alias_path: Pathname,
|
||||
alias_path: T.any(Pathname, String),
|
||||
force_bottle: T::Boolean,
|
||||
flags: T::Array[String],
|
||||
).returns(Formula)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user