aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository/path_repository.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/repository/path_repository.rs')
-rw-r--r--crates/shirabe/src/repository/path_repository.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/repository/path_repository.rs b/crates/shirabe/src/repository/path_repository.rs
index 2f99ceb..e5dff0e 100644
--- a/crates/shirabe/src/repository/path_repository.rs
+++ b/crates/shirabe/src/repository/path_repository.rs
@@ -276,7 +276,7 @@ impl PathRepository {
args
});
if reference == "auto"
- && shirabe_php_shim::is_dir(&format!("{}/.git", path.trim_end_matches('/')))
+ && shirabe_php_shim::is_dir(format!("{}/.git", path.trim_end_matches('/')))
&& self
.process
.borrow_mut()