From f60640267776638d4699fbf05095dc6d1a9016f0 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:55:17 -0700 Subject: fix(install): Use relative symlinks in deno install (#25164) Fixes https://github.com/denoland/deno/issues/25161 --- cli/util/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/util') diff --git a/cli/util/fs.rs b/cli/util/fs.rs index c414abd59..145f9c83b 100644 --- a/cli/util/fs.rs +++ b/cli/util/fs.rs @@ -509,7 +509,7 @@ pub fn hard_link_dir_recursive(from: &Path, to: &Path) -> Result<(), AnyError> { Ok(()) } -pub fn symlink_dir(oldpath: &Path, newpath: &Path) -> Result<(), AnyError> { +pub fn symlink_dir(oldpath: &Path, newpath: &Path) -> Result<(), Error> { let err_mapper = |err: Error| { Error::new( err.kind(), -- cgit v1.2.3