Skip to content

Commit

Permalink
fix: window
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Nov 24, 2022
1 parent 81376c3 commit 6e8c08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command_relink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub async fn relink(cask: &cask::Cask) -> Result<(), Report> {
fs::remove_file(&symlink_file).ok();

#[cfg(target_family = "windows")]
fs::remove_file(format!("{}.bat", &symlink_file)).ok();
fs::remove_file(format!("{}.bat", &symlink_file.display())).ok();
}

symlink::symlink(
Expand Down

0 comments on commit 6e8c08f

Please sign in to comment.