From 4cab6605b032fbda4e86ae4702b0057b7faa3410 Mon Sep 17 00:00:00 2001 From: BrettMayson Date: Mon, 30 Oct 2023 16:03:35 -0600 Subject: [PATCH] missed arg on linux --- bin/src/utils/link.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/src/utils/link.rs b/bin/src/utils/link.rs index b795bc77..b9d968f6 100644 --- a/bin/src/utils/link.rs +++ b/bin/src/utils/link.rs @@ -48,7 +48,7 @@ pub fn create_link(link: &PathBuf, target: &PathBuf) -> Result<(), Error> { /// /// # Errors /// - [`std::io::Error`] if the link could not be created -pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> { +pub fn create_link(link: &PathBuf, target: &PathBuf) -> Result<(), Error> { let target = target.replace('\\', "/"); trace!("symlink {:?} => {:?}", link, target); std::os::unix::fs::symlink(target, link)?;