diff --git a/src/operations/pull.rs b/src/operations/pull.rs index 6314ba5..a07eea1 100644 --- a/src/operations/pull.rs +++ b/src/operations/pull.rs @@ -73,7 +73,7 @@ fn do_the_pulling(repos: Vec, verbose: bool, params: &PullParams) { .unwrap(); } // Return to root dir - env::set_current_dir(root_dir).unwrap(); + env::set_current_dir(&root_dir).unwrap(); log!( verbose, "Returned to root dir: {:?}",