aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/git.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/git.rs')
-rw-r--r--crates/shirabe/src/util/git.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/src/util/git.rs b/crates/shirabe/src/util/git.rs
index 1e6768b1..6a6aaeb1 100644
--- a/crates/shirabe/src/util/git.rs
+++ b/crates/shirabe/src/util/git.rs
@@ -229,11 +229,11 @@ impl Git {
if !initial_clone {
// capture username/password from URL if there is one and we have no auth configured yet
let mut output = String::new();
- self.process.borrow_mut().execute_args(
- &["git".to_string(), "remote".to_string(), "-v".to_string()],
+ self.process.borrow_mut().execute(
+ &["git".to_string(), "remote".to_string(), "-v".to_string()][..],
&mut output,
cwd,
- );
+ )?;
let mut m: IndexMap<CaptureKey, String> = IndexMap::new();
if Preg::is_match3(
php_regex!(r"{^(?:composer|origin)\s+https?://(.+):(.+)@([^/]+)}im"),