Skip to content

Commit 0a881b9

Browse files
committed
extend/pathname: fix another type error.
Let's make this consistent with the rest of this file.
1 parent ad48b5a commit 0a881b9

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
@@ -455,7 +455,7 @@ def install_p(src, new_basename, &_block)
455455
end
456456
end
457457

458-
sig { params(src: T.any(String, Pathname), new_basename: String).void }
458+
sig { params(src: T.any(String, Pathname), new_basename: T.any(String, Pathname)).void }
459459
def install_symlink_p(src, new_basename)
460460
mkpath
461461
dstdir = realpath

0 commit comments

Comments
 (0)