From e4441d50215cf4bf04e3f8d9abdaa580fcf96c18 Mon Sep 17 00:00:00 2001 From: SteveLauC Date: Mon, 29 Jul 2024 09:01:04 +0800 Subject: [PATCH] refactor: fix Windows clippy (#880) Refactor: fix Windows clippy --- src/steps/os/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/steps/os/windows.rs b/src/steps/os/windows.rs index 03c9a502..a5f32e8d 100644 --- a/src/steps/os/windows.rs +++ b/src/steps/os/windows.rs @@ -230,7 +230,7 @@ pub fn insert_startup_scripts(git_repos: &mut RepoStep) -> Result<()> { if let Ok(lnk) = parselnk::Lnk::try_from(Path::new(&path)) { debug!("Startup link: {:?}", lnk); if let Some(path) = lnk.relative_path() { - git_repos.insert_if_repo(&startup_dir.join(path)); + git_repos.insert_if_repo(startup_dir.join(path)); } } }