aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer/binary_installer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/installer/binary_installer.rs')
-rw-r--r--crates/shirabe/src/installer/binary_installer.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/shirabe/src/installer/binary_installer.rs b/crates/shirabe/src/installer/binary_installer.rs
index 8e7ade5..a76f69e 100644
--- a/crates/shirabe/src/installer/binary_installer.rs
+++ b/crates/shirabe/src/installer/binary_installer.rs
@@ -147,10 +147,8 @@ impl BinaryInstaller {
// still checking for symlinks here for legacy support
self.filesystem.borrow_mut().unlink(&link);
}
- if is_file(&format!("{}.bat", link)) {
- self.filesystem
- .borrow_mut()
- .unlink(&format!("{}.bat", link));
+ if is_file(format!("{}.bat", link)) {
+ self.filesystem.borrow_mut().unlink(format!("{}.bat", link));
}
}