Skip to content

Commit af7966c

Browse files
committed
pathname: add type to
1 parent 75aee5e commit af7966c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/extend/pathname.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def uninstall_info
271271
end
272272

273273
# Writes an exec script in this folder for each target pathname.
274-
sig { params(targets: T::Array[Pathname]).void }
274+
sig { params(targets: T.any(T::Array[T.any(String, Pathname)], String, Pathname)).void }
275275
def write_exec_script(*targets)
276276
targets.flatten!
277277
if targets.empty?

0 commit comments

Comments
 (0)