From 81e05cf859ffe64218e065ad4e7adc839028f97e Mon Sep 17 00:00:00 2001 From: kjuulh Date: Wed, 21 Dec 2022 10:06:09 +0100 Subject: [PATCH] chore(release) git pull should not cause error if no upstream --- Cargo.lock | 2 +- Cargo.toml | 2 +- crates/github/src/fuzzy_clone.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b6a1082..abc6fa2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -316,7 +316,7 @@ dependencies = [ [[package]] name = "toolkit" -version = "0.1.9" +version = "0.1.10" dependencies = [ "clap", "eyre", diff --git a/Cargo.toml b/Cargo.toml index 68bb550..6ffb6f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "toolkit" description = "Toolkit is an opinionated toolkit complementing a personal development workflow. Many of the commands are quite verbose, and well suited for adding to your shell toolbelt" -version = "0.1.9" +version = "0.1.10" edition = "2021" license-file = "LICENSE" authors = ["Kasper J. Hermansen contact@kjuulh.io"] diff --git a/crates/github/src/fuzzy_clone.rs b/crates/github/src/fuzzy_clone.rs index 97caa84..944a1fd 100644 --- a/crates/github/src/fuzzy_clone.rs +++ b/crates/github/src/fuzzy_clone.rs @@ -202,12 +202,12 @@ impl FuzzyClone { }), )?; } else { - util::shell::run( + let _ = util::shell::run( &["git", "pull"], Some(util::shell::RunOptions { path: git_repo_path.clone(), }), - )?; + ); } Ok(git_repo_path)