diff --git a/src/operations/pull.rs b/src/operations/pull.rs index 184697b..6314ba5 100644 --- a/src/operations/pull.rs +++ b/src/operations/pull.rs @@ -87,6 +87,14 @@ fn do_the_pulling(repos: Vec, verbose: bool, params: &PullParams) { // Push to build crate::operations::build(&packages_to_rebuild, vec![], params.no_regen, verbose); + + // Ensure you are in root dir + env::set_current_dir(root_dir).unwrap(); + log!( + verbose, + "Returned to root dir: {:?}", + env::current_dir().unwrap() + ); } } }