pathname: add type to
This commit is contained in:
parent
75aee5ec5c
commit
af7966cb2a
@ -271,7 +271,7 @@ class Pathname
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Writes an exec script in this folder for each target pathname.
|
# Writes an exec script in this folder for each target pathname.
|
||||||
sig { params(targets: T::Array[Pathname]).void }
|
sig { params(targets: T.any(T::Array[T.any(String, Pathname)], String, Pathname)).void }
|
||||||
def write_exec_script(*targets)
|
def write_exec_script(*targets)
|
||||||
targets.flatten!
|
targets.flatten!
|
||||||
if targets.empty?
|
if targets.empty?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user