remove reference
This commit is contained in:
+2
-2
@@ -14,13 +14,13 @@ pub fn toggle_index(start: bool, config: &DevToolsConf) -> Result<(), Box<dyn st
|
||||
);
|
||||
|
||||
Command::new("git")
|
||||
.current_dir(&config.project_dir_as_string())
|
||||
.current_dir(config.project_dir_as_string())
|
||||
.args(["update-index", change, &project_path])
|
||||
.status()?;
|
||||
|
||||
if !start {
|
||||
Command::new("git")
|
||||
.current_dir(&config.project_dir_as_string())
|
||||
.current_dir(config.project_dir_as_string())
|
||||
.args(["checkout", &project_path])
|
||||
.status()?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user