diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-08-22 14:55:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-22 21:55:17 +0000 |
commit | f60640267776638d4699fbf05095dc6d1a9016f0 (patch) | |
tree | cbe7d284738cf1aed511f3ad3432444ceab573b6 /cli/util | |
parent | b6475d0f36a0476d95f1a0749f9db33b5aa73ecf (diff) |
fix(install): Use relative symlinks in deno install (#25164)
Fixes https://github.com/denoland/deno/issues/25161
Diffstat (limited to 'cli/util')
-rw-r--r-- | cli/util/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |