small bug fix

This commit is contained in:
Pagwin 2023-02-06 11:40:43 -05:00
parent d254bbd4cd
commit d328308113
No known key found for this signature in database
GPG key ID: F5FB283DD4B1A998
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View file

@ -284,7 +284,7 @@ checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
[[package]]
name = "ppi"
version = "1.1.0"
version = "1.1.1"
dependencies = [
"clap",
"dirs",

View file

@ -1,6 +1,6 @@
[package]
name = "ppi"
version = "1.1.1"
version = "1.1.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -94,6 +94,7 @@ fn main() -> Result<(),Errors> {
}
eprintln!("checking out appropriate branch");
std::env::set_current_dir(&loc)?;
handle_process(std::process::Command::new("git")
.args(["checkout", skelly_branch.as_str()]))?;
// let branch = repo.branches(Some(git2::BranchType::Remote))?.find(|branch|{