extend/pathname: fix another type error.

Let's make this consistent with the rest of this file.
This commit is contained in:
Mike McQuaid 2025-08-07 09:32:22 +01:00
parent ad48b5a5f5
commit 0a881b9a0d
No known key found for this signature in database

View File

@ -455,7 +455,7 @@ class Pathname
end
end
sig { params(src: T.any(String, Pathname), new_basename: String).void }
sig { params(src: T.any(String, Pathname), new_basename: T.any(String, Pathname)).void }
def install_symlink_p(src, new_basename)
mkpath
dstdir = realpath