chore(release) git pull should not cause error if no upstream
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2022-12-21 10:06:09 +01:00
parent a1f337dac2
commit 0cfd38e682
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -316,7 +316,7 @@ dependencies = [
[[package]] [[package]]
name = "toolkit" name = "toolkit"
version = "0.1.9" version = "0.1.10"
dependencies = [ dependencies = [
"clap", "clap",
"eyre", "eyre",

View File

@ -1,7 +1,7 @@
[package] [package]
name = "toolkit" 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" 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" edition = "2021"
license-file = "LICENSE" license-file = "LICENSE"
authors = ["Kasper J. Hermansen contact@kjuulh.io"] authors = ["Kasper J. Hermansen contact@kjuulh.io"]

View File

@ -202,12 +202,12 @@ impl FuzzyClone {
}), }),
)?; )?;
} else { } else {
util::shell::run( let _ = util::shell::run(
&["git", "pull"], &["git", "pull"],
Some(util::shell::RunOptions { Some(util::shell::RunOptions {
path: git_repo_path.clone(), path: git_repo_path.clone(),
}), }),
)?; );
} }
Ok(git_repo_path) Ok(git_repo_path)