formula: fix std_cargo_args type error
This commit is contained in:
parent
471e733641
commit
8b016141cd
@ -1629,9 +1629,11 @@ class Formula
|
||||
end
|
||||
|
||||
# Standard parameters for cargo builds.
|
||||
sig { params(root: T.any(String, Pathname), path: String).returns(T::Array[T.any(String, Pathname)]) }
|
||||
sig {
|
||||
params(root: T.any(String, Pathname), path: T.any(String, Pathname)).returns(T::Array[String])
|
||||
}
|
||||
def std_cargo_args(root: prefix, path: ".")
|
||||
["--locked", "--root", root, "--path", path]
|
||||
["--locked", "--root=#{root}", "--path=#{path}"]
|
||||
end
|
||||
|
||||
# Standard parameters for CMake builds.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user