remove reference
parent
758dbfa942
commit
649c08ad4b
|
@ -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()?;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue